Pin or Unpin a Reservation in a Project
POST /projects/{project_string_id}/reservation/{reservation_string_id}/{action}
Pins or unpins a reservation within a project.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
project_string_id |
string | Yes | Project string ID where the reservation will be pinned or unpinned |
reservation_string_id |
string | Yes | Reservation string ID that will be pinned or unpinned |
action |
string | Yes | The action to perform, either "pin" or "unpin" |
Request Body
Empty JSON object {}
Response
Success Response (200 OK)
data contains the updated project.
Error Responses
400 Bad Request: Invalid request422 Unprocessable Entity: Request fields fail schema validation401 Unauthorized: Authentication failed403 Forbidden: User does not have permission to pin or unpin reservations in this project404 Not Found: Project with the specified ID does not exist
See the Projects API overview for related endpoints.