Skip to content

Commit a279bfb

Browse files
authored
add docs for bookings_tags (#256)
* add docs for bookings_tags * add changelog * update
1 parent da70c4b commit a279bfb

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

content/reference/endpoints/bookings_tags.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,23 @@ GET /bookings_tags/:bookings_tag_id
4343
~~~
4444

4545
<%= render 'json_response', endpoint: "bookings_tags", scopes: %w(bookings_read) %>
46+
47+
## Add a single bookings tag
48+
49+
Adds a tag to an existing booking.
50+
51+
~~~
52+
POST /bookings/:id/add_tag/:bookings_tag_id
53+
~~~
54+
55+
Returns empty body with status: 201
56+
57+
## Remove a single bookings tag
58+
59+
Removes a tag from an existing booking.
60+
61+
~~~
62+
DELETE /bookings/:id/remove_tag/:bookings_tag_id
63+
~~~
64+
65+
Returns empty body with status: 204

0 commit comments

Comments
 (0)