v1

latestOpenAPI 3.1.02026-07-24270180.3 KB

Modify a vault token

Modify an existing vault token representation

post/v1/vault-tokens/{vault_token}

Path parameters

vault_tokenstring required

The vault token to be modified. Returned at the creation stage.

Headers

x-user-secret-keystring required

Your API private/secret key. This can be found in the powerboard dashboard.

Content-Typestring required

Content-Type will always be application/json

Request body

expire_monthstring required

The card expiry month that you will update the token to.

expire_yearstring required

The card expiry year you wish to update the token to.

Response

200

statusinteger
{"stackTrail":"paths:/v1/vault-tokens/{vault_token}:post:responses:200:content:application/json:schema:properties:error","oasType":"schema","type":"unknown"}

Example response

{
  "status": 200,
  "resource": {
    "type": "vault-token",
    "data": {
      "vault_id": "5ecd322551eff9228f882bd1"
    }
  }
}