Delete Element User Access (v2.0)
DELETE/v2.0/api/tenants/:tenant_id/elementusers/:user_id/access/:access_id
Delete an element user access.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
user_id stringrequired
The element user ID.
access_id stringrequired
The user access ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
element_id stringrequired
The element ID.
id string
The ID.
role stringrequired
Possible values: [SUPER
, READONLY
, MONITOR
, EVAL
]
The user role.
tenant_id stringrequired
ID of the tenant.
user_id string
The element user ID.
{
"element_id": "string",
"id": "string",
"role": "SUPER",
"tenant_id": "string",
"user_id": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ELEMENT_USER_NOT_FOUND"
},
{
"code": "INVALID_ELEMENT_USER_DELETE"
}
]
}
}
Loading...