Skip to main content
POST
cURL

What the copy gets

The copy gets the same timezone and hours as the original. You give the copy a new name. The copy is never the default schedule. Your default schedule does not change.

Limits

  • name is required. A request without it returns 422.
  • You can only duplicate schedules on your own account. Another account’s schedule returns 403 access_denied.
A successful duplicate returns 201 with the new schedule.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

ID of the availability schedule to duplicate

Body

application/json

Name of the new schedule

name
string
required

Name of the new schedule

Maximum string length: 255

Response

201 - application/json

Availability duplicated

success
boolean
required

Indicates whether the request was successful

Example:

true

data
object
required