Create Role and Assign#
Creates a role with a generated title (Role_ plus random characters). Assign permissions next. Requires add-role.
Authorizationstringheaderrequired
Bearer token in the format: Bearer {access_token}
curl --request POST \
--url https://app.rizzdial.com/api/roles/create-and-assign \
--header 'Authorization: Bearer {{bearer_token}}'messagestring
Role created successfully. Assign permissions next.