Body
Required
-
The label of the custom role, 20 characters at most.
-
The description of the custom role, 100 characters at most.
-
The permissions of the custom role, at least one.
Values are
live.*,live.full.*,live.limited.*,moderation.*,spot.member.invite.*,course.limited.*,course.full.*,collection.full.*, orcollection.limited.*.
POST
/v1/spotMemberCustomRole
curl \
--request POST 'https://openapi.meltingspot.io/v1/spotMemberCustomRole' \
--header "Content-Type: application/json" \
--data '{
"label": "string",
"description": "string",
"permissions": [
"live.*"
]
}'
Request examples
{
"label": "string",
"description": "string",
"permissions": [
"live.*"
]
}
Response examples (201)
{
"id": "string",
"label": "string",
"description": "string",
"permissions": [
"live.*"
],
"audienceScope": "All",
"audienceScopeGroupIds": [
"string"
]
}