cURL
curl --request PUT \ --url https://sis.sumvin.com/v0/organisation/{org_id}/environments/{env_id}/auth \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "provider": "dynamic", "dynamic": { "environment_id": "<string>", "api_key": "<string>" }, "privy": { "app_id": "<string>", "api_key": "<string>" } } '
{ "_links": { "self": { "href": "<string>", "method": "GET", "templated": false, "description": "<string>" }, "environment": { "href": "<string>", "method": "GET", "templated": false, "description": "<string>" } }, "auth": { "provider": "<string>", "is_active": true, "created_at": 123, "updated_at": 123, "credentials": { "environment_id": "<string>", "api_key": "<string>" } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
dynamic
privy
Show child attributes
Successful Response