Add scopes

Add scopes to an existing state

POST
/states/{stateId}/scopes
AuthorizationBearer <token>

Bearer token authentication. Use your API key as the bearer token.

In: header

Path Parameters

stateIdstring

State ID

Scopes to add

Response Body

curl -X POST "https://eu1.api.bivariant.com/v1/states/string/scopes" \  -H "Content-Type: application/json" \  -d '[    {      "id": "string"    }  ]'
{
  "id": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}