Delete Reservation
Deletes a specific device reservation. The reservation is indicated by the reservationID
provided when the reservation was created.
URL |
Copy
|
Method |
|
For information on a previous version of this endpoint, see Delete Reservation | Legacy.
Header parameters
Name |
Description |
---|---|
|
The Perfecto security token. For more information, see Generate a security token. |
Request parameters
Name | Type | Default | Description |
---|---|---|---|
|
boolean |
|
Set to This parameter is not available on a shared MCM. |
|
string |
|
Available for active reservations only. Possible values:
|
Success response
Code: 200 OK
Error response
[
{
"userMessage":"ERROR_MESSAGE",
"developerMessage": "1-63dbebb1-4521fab52df9f41a578221c8"
}
]
where:
-
userMessage
is the error message to be shown. -
developerMessage
is a value that you can send to Perfecto Support to check errors if further investigation is required.
An error is returned in the following cases:
-
The reservation feature is disable for the tenant.
-
The reservation is not found.
[
{
"userMessage": "Unable to authenticate bearer token",
"developerMessage": "Unable to authenticate bearer token"
}
]
[
{
"userMessage": "Reservation not found",
"developerMessage": "d6775ff7760d414583f755fd74f046bd"
}
]
[
{
"userMessage": "Reservation is disabled. Please contact support.",
"developerMessage": "5f4fb4e9c44e424faf0280d40dbbc8f2"
}
]