Update API token expiration days for a specified token
    • PDF

    Update API token expiration days for a specified token

    • PDF

    Article summary

    Patch
    /api/token/{tokenId}
    Security
    HTTP
    Type bearer
    Path parameters
    tokenId
    stringRequired

    Token ID

    Body parameters
    {
      "name": "admin-token1",
      "tokenExpirationDays": 60
    }
    object
    id
    string
    name
    string
    expiresOn
    string (date-time)
    createdOn
    string (date-time)
    type
    string
    Valid values[ "DEFAULT", "SCIM", "ServiceIdentity" ]
    tokenExpirationDays
    integer (int32)

    Any value between 1 and 90 days.

    status
    string
    Valid values[ "Active", "Inactive" ]
    lastAccessed
    string (date-time)
    assignedTo
    string
    token
    string
    createdBy
    string
    Responses
    200

    No content


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.