Create an endpoint or resource

All products Create a new API endpoint or add a resource to an existing endpoint. When you run this operation to add a new resource to an existing API, the API version is cloned for you and the resource is included in the new version.

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 endpoint or adding a new resource to an existing endpoint.

integer

A unique identifier for an API endpoint. You need this when adding a resource to an existing endpoint.

string

The name for this API endpoint. You need this to register an endpoint.

string

A unique identifier for a contract. You need this when registering a new endpoint.

integer

A unique identifier for a group. You need this when registering a new endpoint.

integer

The version number. You need this when adding a resource to an existing endpoint. When a version is read-only, the version is cloned and updates are included in the newly cloned version.

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