cURL
curl --request POST \ --url https://sis.sumvin.com/v0/organisation/{org_id}/environments/{env_id}/cors-origins \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "origin": "<string>" } '
{ "_links": { "self": { "href": "<string>", "method": "GET", "templated": false, "description": "<string>" }, "environment": { "href": "<string>", "method": "GET", "templated": false, "description": "<string>" } }, "cors_origin": { "id": "<string>", "origin": "<string>", "created_at": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 512
Successful Response
Show child attributes