Refresh Token
PATCH/api/v2/admin/business/:businessId/refresh-token
Route for Business Token Update
Request
Path Parameters
businessId stringrequired
Business ID.
- application/json
Body
required
Old Token
oldToken Old Tokenrequired
Responses
- 200
- 400
- 401
- 500
New Token
- application/json
- Schema
- Example (from schema)
Schema
newToken string
{
"newToken": "string"
}
BadRequestException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
UnauthorizedException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
InternalServerErrorException
- application/json
- Schema
- Example (from schema)
Schema
message string[]required
Default value: string,[object Object]
error stringrequired
statusCode numberrequired
{
"message": [
"string"
],
"error": "string",
"statusCode": 0
}
Loading...