Revoke tokens
Revokes a token, immediately disabling it.
Permissions required
update
privilege on the Host Factory.
URI
|
Example with curl
Suppose you have a Host Factory Token and want to revoke it:
|
Request Headers
Field |
Description |
Example |
---|---|---|
Authorization |
Conjur access token |
Token token=“eyJkYX…Rhb=” |
Response
Code |
Description |
---|---|
204 |
The token was revoked |
401 |
The request lacks valid authentication credentials |
404 |
Conjur did not find the specified token |
Example URI
|
URI Parameters
Parameter |
Type |
Mandatory |
Description |
---|---|---|---|
token |
String |
Yes |
the Host Factory Token to revoke Example: |