Authorizations
Path Parameters
Body
application/json
Required range:
0 <= x <= 365Example:
Response
200 - application/json
curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/virtual-accounts/{id}/regenerate-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"gracePeriodInDays": 30
}'{
"token": "<string>"
}Regenerate token for a virtual account by id. The old token will remain valid for the specified grace period.
curl --request POST \
--url https://{controlPlaneURL}/api/svc/v1/virtual-accounts/{id}/regenerate-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"gracePeriodInDays": 30
}'{
"token": "<string>"
}0 <= x <= 365Was this page helpful?