Roles
Get Get Roles
gethttps://cache.showwcase.com/communities/:communityId/settings/roles
HeadersField | Description |
---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
ParametersField | Type | Description |
---|
communityId | number | Unique community identifier. |
Put Update Role
puthttps://cache.showwcase.com/communities/:communityId/settings/roles/:roleId
HeadersField | Description |
---|
Authorization | An access token that represents the user who wants to take an action. Read more about access tokens here. |
ParametersField | Type | Description |
---|
communityId | number | Unique community identifier. |
roleId | number | Unique role identifier. |
BodyField | Type | Description |
---|
name | string | Role name. |
color | string | Role color. |
isDefault | boolean | Is default role. |
Delete Delete Role
deletehttps://cache.showwcase.com/communities/:communityId/settings/roles/:roleId
HeadersField | Description |
---|
Authorization | An access token that represents the user who wants to take an action. Read more about access tokens here. |
ParametersField | Type | Description |
---|
communityId | number | Unique community identifier. |
roleId | number | Unique role identifier. |
Put Update Role's Permissions