Core resources
Administration
Booking flow
Access level for team members with the user
role per unit.
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
permission
"maintenance" | "view-bookings" | "manage-bookings" | "all"
Permission level
{"id": "00000000-0000-0000-0000-000000000000","member_id": "00000000-0000-0000-0000-000000000000","product_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-12-21T14:35:42.630Z","updated_at": "2024-12-21T14:35:42.630Z","permission": "view-bookings"}
id
Filter<>
Unique identifier
member_id
Filter<>
Identifier of the related member
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
permission
Filter<>
Permission level
200
A list of permissions with the selected columns
206
Partial Content
GET
/permissions
curl -X GET "https://api.bookingmood.com/v1/permissions?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<Permission>
| Array<Partial<Permission>>
201
The newly created permissions with the selected columns
POST
/permissions
curl -X POST "https://api.bookingmood.com/v1/permissions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<>
Unique identifier
member_id
Filter<>
Identifier of the related member
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
permission
Filter<>
Permission level
204
The deleted permissions with the selected columns
DELETE
/permissions
curl -X DELETE "https://api.bookingmood.com/v1/permissions" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<>
Unique identifier
member_id
Filter<>
Identifier of the related member
product_id
Filter<>
Identifier of the related unit
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
permission
Filter<>
Permission level
Partial<Permission>
204
The updated permissions with the selected columns
PATCH
/permissions
curl -X PATCH "https://api.bookingmood.com/v1/permissions" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'