Skip to main content

Change token state

PUT 

/api/web/v1/tokens/:tokenid/changestate

Change the state of a token. Caller requires the TOKENS:EDIT permission.

Request

Path Parameters

    tokenid stringrequired

    The UUID of the token that will have its state changed.

Body

required

    state stringrequired

    Possible values: [NEW, ACTIVATING, ACTIVE, INACTIVE, UNASSIGNED]

    The new state of the token. The state can be changed from ACTIVE to INACTIVE or INACTIVE to ACTIVE.

Responses

Successful

Loading...