DELETE /api/users/:user_id/registration_tokens
Invalidate all registration tokens for a specific user

The user you specify will no longer be able to register hosts by using their JWTs.

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

user_id
required

ID of the user

Validations:

  • String


DELETE /api/registration_tokens
Invalidate all registration tokens for multiple users

The users you specify will no longer be able to register hosts by using their JWTs.

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

search
required

URL-encoded search query that selects users for which registration tokens will be invalidated. Search query example: id ^ (2, 4, 6)

Validations:

  • String