POST /v1/commerce/booking-calendar/rotate-token
POST
/v1/commerce/booking-calendar/rotate-tokenAuthorization
bearerAuthbearerAuthrequiredor
apiKeyAuthapiKeyAuthrequiredResponses
200OK
subscribe_urlstringrequiredtokenstringrequireddefaultError
errorErrorBodyrequiredShow propertiesHide properties
codestringrequireddetailsErrorDetail[] | nullShow propertiesHide properties
Array of
ErrorDetailcodestringfieldstringlocationstringmessagestringrequiredmessagestringrequiredrequest_idstringRequest
curl -X POST "/v1/commerce/booking-calendar/rotate-token"const response = await fetch("/v1/commerce/booking-calendar/rotate-token", {
method: "POST"
});import requests
response = requests.post(
"/v1/commerce/booking-calendar/rotate-token",
)Response
{
"subscribe_url": "string",
"token": "string"
}{
"error": {
"code": "string",
"details": [
{
"code": "string",
"field": "string",
"location": "string",
"message": "string"
}
],
"message": "string",
"request_id": "string"
}
}