Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) role_assignment_update_delete = client.cloud.users.role_assignments.delete( 123, ) print(role_assignment_update_delete.assignment_id)
{ "assignment_id": 12 }
Delete an existing role assignment.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Assignment ID
123
OK
The response is of type object.
object
Was this page helpful?