Delete group reservation

Deletes or deactivates a group reservation. If the reservation is pending (not yet started),
it will be permanently deleted. If it's already active, it will be deactivated and the person
will be removed from the assigned groups.

DELETE /api/3/group_reservations/{id}

Authentication

This endpoint requires authentication:

OAuth 2.0 Recommended

Use an OAuth 2.0 access token in the Authorization header. This is the recommended authentication method for all integrations. OAuth provides automatic token expiration, granular permission scopes, detailed usage tracking, and per-integration revocation. Learn how to obtain an access token.

Header Format:

Authorization: Bearer YOUR_ACCESS_TOKEN

Required Scopes:

account.group_reservation

Parameters

Path Parameters

id integer
Required

Group reservation ID

Responses

200

Group reservation deleted successfully

Response Fields

result string
eg. ok
401

Unauthorized - Invalid or missing authentication

Response Fields

error string
eg. unauthorized
error_description string
eg. The access token is invalid
403

Forbidden - User does not have permission

Response Fields

error string
eg. forbidden
error_description string
eg. You are not authorized to access this resource
404

Not Found - Resource does not exist or is not an admission request event

Response Fields

error string
eg. not_found
error_description string
eg. The requested resource was not found
422

Unprocessable Entity - Validation failed

Response Fields

error string

Error message

errors object

Field-specific validation errors

Show child attributes
value array
eg. ["value is already in use on your account", "must be between 4 and 7 digits in length"]

Validation errors for the credential value

credential_type_id array
eg. ["Not found for this account"]

Validation errors for the credential type

limit_reached string
eg. You have reached your HID Mobile licence limit. Please contact DoorFlow Support.

License limit error message

500

Internal Server Error

Response Fields

error string
eg. internal_server_error
error_description string
eg. An unexpected error occurred

Request

curl -X DELETE \
  "https://api.doorflow.com/api/3/group_reservations/{id}" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"

Responses

Group reservation deleted successfully

{
  "result": "ok"
}