Create a ensemble role
Body·
required
application/json
Fields accepted when creating a ensemble role. Unknown or read-only fields are rejected.
- Type: string | nullFormat: uuidensemble
Id requiredReferences ensembles.id.
- Type: string | nullFormat: uuidrole
Id requiredReferences roles.id.
- Type: string | nullname
- Type: number | nullorder
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for post/ensemble-roles
curl https://api.weddingoperatingsystems.com/api/v1/ensemble-roles \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"name": null,
"ensembleId": null,
"roleId": null,
"order": null
}'
{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": null,
"ensembleId": null,
"roleId": null,
"order": null,
"createdTime": "2026-09-30T11:22:55.097Z",
"lastEditedTime": "2026-09-30T11:22:55.097Z"
}
}