Skip to main content
DELETE
/
cloud
/
v1
/
users
/
assignments
/
{assignment_id}
Delete role assignment
curl --request DELETE \
  --url https://api.gcore.com/cloud/v1/users/assignments/{assignment_id} \
  --header 'Authorization: <api-key>'
{
  "assignment_id": 12
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

assignment_id
integer
required

Assignment ID

Example:

123

Response

200 - application/json

OK

assignment_id
integer
required

Assignment ID

Example:

12