Skip to main content
POST
Regenerate token for a virtual account

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

System-generated service account ID.

Example:

"jqfwg345gi25n5ju2yz5iz6m"

Body

application/json
gracePeriodInDays
number
required

Grace period in days for which the old token will remain valid after regeneration

Required range: 0 <= x <= 365
Example:

30

Response

The newly generated token for the virtual account.

token
string
required

Authentication token for the virtual account.