Modify an API's visibility

All products Hide or show an API. You can choose to include or exclude APIs from the Get discovered APIs response. This operation is per-user. If you hide an API from the response, another of your colleagues will still see that API in the response when they run this operation with their own credentials.

Path Params
string
required

The base64-encoded value of the hostname.

string
required

The base64-encoded value of the base path.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params

Describes an API's visibility status.

boolean
required

Describes an API's visibility status.

string
enum

The reason you've decided to hide the API from the API list. Use NOT_ELIGIBLE if you want to hide it for now and choose what to do with the API at a later time. Use FALSE_POSITIVE for APIs you feel are incorrectly included in the data.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json