Was this helpful?
Removes a specific TOTP token. Returns success even if token doesn't exist.
Unique TOTP token identifier
DELETE /v1/auth/ratls/totp/{uuid} HTTP/1.1 Host: localhost:8200 Accept: */*
TOTP token deleted successfully
{ "request_id": "text", "lease_id": "text", "renewable": true, "lease_duration": 1, "data": {}, "wrap_info": null, "warnings": null, "auth": null }
Creates a new Time-based One-Time Password token. The UUID will be generated by the API.
Creation timestamp
Expiration timestamp
Name of the policy to allow updates for
PUT /v1/auth/ratls/totp HTTP/1.1 Host: localhost:8200 Content-Type: application/json Accept: */* Content-Length: 44 { "created": 1, "expiration": 1, "policy": "text" }
TOTP token created successfully
{ "request_id": "text", "lease_id": "text", "renewable": true, "lease_duration": 1, "data": { "created": 1, "expiration": 1, "policy": "text", "uuid": "123e4567-e89b-12d3-a456-426614174000" }, "wrap_info": null, "warnings": null, "auth": null }