User - Revokes assets and tenant from a user
Revokes assets and tenant from an existing user based on provided asset details related to a specific tenant.
delete
Authorizations
Path parameters
userIdstring · uuidRequired
Enter the ID of an existing user
Query parameters
tenantIdstring · uuidRequired
Enter the ID of an existing tenant
versionstringOptionalDefault:
The requested API version
1.0
Body
Class for representing the view of asset.
assetIdstring · uuidOptional
A public property of type Guid (a unique identifier) that has both a getter and a setter method, which allows for getting and setting the value of the AssetId property.
roleIdstring · uuidOptional
A public property of type Guid (a unique identifier) that has both a getter and a setter method, which allows for getting and setting the value of the RoleId property.
Responses
200
Success: Assets unassigned successfully from the existing user.
400
Bad Request: The request could not be processed due to invalid syntax or missing/incorrect parameters.
401
Unauthorized: Invalid credentials or missing/invalid authentication token.
404
Not Found: The requested user or tenant does not exist
500
Internal Server Error: An unexpected error occurred or a server timeout.
delete
DELETE /users/{userId}/roles/revoke?tenantId=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 100
[
{
"assetId": "123e4567-e89b-12d3-a456-426614174000",
"roleId": "123e4567-e89b-12d3-a456-426614174000"
}
]
{
"message": "Success Message",
"statusCode": 200
}
Last updated