Disable Authentication Token

Invoke the disable operation

It is possible to temporarily disable a token and then, at some later point, re-enable the token. This can be useful if a persistent token is suspect of being compromised and it is desired to have the option of enabling the token, in case it turns out to not be compromised.

SecurityaccessToken
Request
query Parameters
site
string

Send the request to the specfifed site

Request Body schema:
One of:
token
string
disabled
boolean
Default: true
Responses
200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

503

Service Unavailable (strongbox sealed)

post/v1/state/strongbox/token/disable
Request samples
token: b7c1abeb-7f45-4f5c-9aba-97ceb117f777
disabled: true
Response samples
token: fe665fd1-ad8c-4ec6-a594-b4cc15123b36
expires-in: 0
accessor: b7c1abeb-7f45-4f5c-9aba-97ceb117f777
creation-time: 2022-01-13T08:59:52.110681Z
disabled: true