Delete Element User (v2.1)
DELETE/v2.1/api/tenants/:tenant_id/elementusers/:user_id
List all the element users.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
user_id stringrequired
The element user ID.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID.
is_tenant_level booleanrequired
The tenant level is flagged.
login_id stringrequired
The element user log in ID. Login Id length should be between 4 and 16. = ^[a-z][-a-z0-9]*$
role stringrequired
Possible values: [SUPER
, READONLY
, MONITOR
, EVAL
]
The user role.
tenant_id stringrequired
ID of the tenant.
username string
The username. Max length = 255.
{
"id": "string",
"is_tenant_level": true,
"login_id": "string",
"role": "SUPER",
"tenant_id": "string",
"username": "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...