Skip to main content

Roles

Get Get Roles

gethttps://cache.showwcase.com/communities/:communityId/settings/roles
Headers
FieldDescription
X-API-KEYAn API key that represents the user who wants to take an action. Read more about API keys here.
Parameters
FieldTypeDescription
communityIdnumberUnique community identifier.

Put Update Role

puthttps://cache.showwcase.com/communities/:communityId/settings/roles/:roleId
Headers
FieldDescription
AuthorizationAn access token that represents the user who wants to take an action. Read more about access tokens here.
Parameters
FieldTypeDescription
communityIdnumberUnique community identifier.
roleIdnumberUnique role identifier.
Body
FieldTypeDescription
namestringRole name.
colorstringRole color.
isDefaultbooleanIs default role.

Delete Delete Role

deletehttps://cache.showwcase.com/communities/:communityId/settings/roles/:roleId
Headers
FieldDescription
AuthorizationAn access token that represents the user who wants to take an action. Read more about access tokens here.
Parameters
FieldTypeDescription
communityIdnumberUnique community identifier.
roleIdnumberUnique role identifier.

Put Update Role's Permissions