Update a group
curl -X PATCH https://api.subscriby.net/v1/groups/$GROUP_ID \
-H "Authorization: Bearer $SUBSCRIBY_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"name": "Billing & Finance"}'
Permissions replace, they do not merge. Sending permissions sets the group's permissions to exactly that list. Omit the key entirely to leave the existing set untouched while changing only the name.
code and team_id are prohibited: a group is neither renamed by code nor moved between teams. Answers 200 with the group and its permissions. Emits group.updated.
Request
- Base URL: https://api.subscriby.net
- URL: https://api.subscriby.net/v1/groups/{group}
- Auth: HTTP bearer
Path parameters
The group, resolved by the route binder.
Headers
A key unique to this operation, such as a fresh UUID. The same key replays the original 2xx response for 24 hours (with Idempotent-Replay: true), so a retry after a timeout never repeats the write; the same key with a different body is refused with 409.
Request body
Response
The updated group resource.
Example response
{
"data": {
"id": "1f68d92a-04c5-4e83-97b1-3d6a05e2f847",
"team_id": "a83f0d51-4c92-4b7e-8615-2fd9e70a3c86",
"code": "ops",
"name": "Ops",
"permissions": [
"project:view-any"
],
"member_ids": [
"2a91c4e7-6f38-4b52-8e0d-9c1a7b3f5d80"
],
"created_at": "2026-05-18T10:05:00Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.