ManagementMy A P I credential

Add allowed origin

POST
/me/allowedOrigins

Adds an allowed origin to the list of allowed origins of your API credential. The API key from the request is used to identify the API credential.

You can make this request with any of the Management API roles.

Authorization

AuthorizationBasic <token>

In: header

Request Body

application/json

_links?
domain*string

Domain of the allowed origin.

id?string

Unique identifier of the allowed origin.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/me/allowedOrigins" \  -H "Content-Type: application/json" \  -d '{    "domain": "string"  }'
{  "_links": {    "self": {      "href": "string"    }  },  "domain": "string",  "id": "string"}