Tokens

Extend API token expiration

Extend the expiration date of an existing API token

post/api/tokens/{tokenId}/extend

Request

  • Base URL: https://api.sc-market.space
  • URL: https://api.sc-market.space/api/tokens/{tokenId}/extend
  • Auth: none declared

Path parameters

tokenIdstring required

ID of the token to extend

Request body

expires_atstring date-time required

New expiration date for the token

Example request

{
  "expires_at": "2025-12-31T23:59:59Z"
}

Response

Token expiration extended successfully

Example response

{
  "data": {
    "message": "Token expiration extended"
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.