Each endpoint is guarded by exactly one OAuth2 scope. Calling an endpoint without its scope returns 403 (forbidden).
| Scope | Method | Endpoint | Grants |
|---|
community:read | GET | /v1/communities, /v1/communities/{communityId} | List or read a single community |
community:create | POST | /v1/communities | Create a community |
community:update | PATCH | /v1/communities/{communityId} | Update community fields |
community:delete | DELETE | /v1/communities/{communityId} | Soft-delete a community |
| Scope | Method | Endpoint | Grants |
|---|
community-member:read | GET | /v1/communities/{communityId}/members | List members |
community-member:create | POST | /v1/communities/{communityId}/members | Add members with roles |
community-member:create | POST | /v1/communities/{communityId}/ou | Add an organisational unit |
community-member:delete | DELETE | /v1/communities/{communityId}/members/{memberId} | Remove a member |
community-member:delete | DELETE | /v1/communities/{communityId}/ou/{ouId} | Remove an organisational unit |
| Scope | Method | Endpoint | Grants |
|---|
community-topic:read | GET | /v1/communities/{communityId}/topics, /v1/communities/{communityId}/topics/{topicId} | List or read a topic |
community-topic:create | POST | /v1/communities/{communityId}/topics | Create a topic |
community-topic:update | PATCH | /v1/communities/{communityId}/topics/{topicId} | Update a topic |
community-topic:delete | DELETE | /v1/communities/{communityId}/topics/{topicId} | Delete a topic |
| Scope | Method | Endpoint | Grants |
|---|
community-post:read | GET | /v1/communities/{communityId}/posts, /v1/communities/{communityId}/posts/{postId} | List or read a post |
community-post:create | POST | /v1/communities/{communityId}/posts | Create a post |
community-post:update | PATCH | /v1/communities/{communityId}/posts/{postId} | Update a post |
community-post:delete | DELETE | /v1/communities/{communityId}/posts/{postId} | Soft-delete a post |
| Scope | Method | Endpoint | Grants |
|---|
community-comment:read | GET | /v1/communities/{communityId}/posts/{postId}/comments | List comments on a post |
community-comment:delete | DELETE | /v1/communities/{communityId}/posts/{postId}/comments/{commentId} | Delete a comment (moderation) |
TIP
A scope grants the ability to call an endpoint. Some endpoints also require the calling user to have a specific role within the community (e.g. admin or moderator) to succeed.