REVOKE Registration Token
PUT/api/workspaces/:workspaceId/devices/registration-tokens/revoke
Revokes registration token and all of it's ancestors and descendants.
Request
Path Parameters
workspaceId uuidrequired
- application/json-patch+json
- application/json
- text/json
- application/*+json
Body
registrationTokenId uuidrequired
Body
registrationTokenId uuidrequired
Body
registrationTokenId uuidrequired
Body
registrationTokenId uuidrequired
Responses
- 200
- 201
- 404
- 423
Registration token has been already revoked.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Registration token revoked.
Registration token or workspace does not exist.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace is disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...