Get a custom role

GET /v1/spotMemberCustomRole/{customRoleId}

Get a custom role

Path parameters

  • customRoleId string Required

    The id of the custom role

Responses

  • 200 application/json

    Custom role found and returned successfully

    Hide response attributes Show response attributes object
    • id string Required

      The id of the custom role.

    • label string Required

      The label of the custom role.

    • description string Required

      The description of the custom role.

    • permissions array[string] Required

      The permissions of the custom role.

      Values are live.*, live.full.*, live.limited.*, moderation.*, spot.member.invite.*, course.limited.*, course.full.*, collection.full.*, or collection.limited.*.

  • 400

    Malformed payload

  • 404

    Custom role not found

GET /v1/spotMemberCustomRole/{customRoleId}
curl \
 --request GET 'https://openapi.meltingspot.io/v1/spotMemberCustomRole/{customRoleId}'
Response examples (200)
{
  "id": "string",
  "label": "string",
  "description": "string",
  "permissions": [
    "live.*"
  ]
}