Token

Extend a token's expiration time

Renew (extend) the expiration of the specified token by the policy's default lifetime. Renewal is subject to the token being marked renewable, admin policy allowing renewals, and the max_renewals limit not being reached.

post/api/user/tokens/<int:token_id>/renew

Path parameters

token_idinteger required

ID of the token to renew

Headers

X-EDH-USERstring required

SOCA username for authentication

X-EDH-TOKENstring required

SOCA authentication token

Response

Token renewed successfully

successboolean

Example response

{
  "success": true
}

Changes