Updates the business hours enabled field
Updates the business hours enabled field
Path Parameters
id string required
The ID of the number to update the enabled field for schdule business hours
application/json
Request Body required
enabled boolean required
Whether or not the business hours schedule is enabled
Responses
- 204
- 400
- 401
- 403
- 404
Successfully updated the business hours
Bad request
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
errors object[]
code string
Human readable error code
message string
Human readable error message
detail string
Human readable error detail
{
"errors": [
{
"code": "ERROR_CODE",
"message": "An error occurred while calling the endpoint",
"detail": "View more info at developers.rinkel.com"
}
]
}
Unauthorized
Forbidden
The number was not found
Loading...