Update Role#
Renames a company role. Title must stay unique. Requires edit-role.
Authorizationstringheaderrequired
Bearer token in the format: Bearer {access_token}
idstringpathrequired
Numeric role id from List Roles. Base64 and encrypted ids also work
titlestringbodyrequired
Role title. Max 255 characters
curl --request PUT \
--url https://app.rizzdial.com/api/roles/12 \
--header 'Authorization: Bearer {{bearer_token}}' \
--header 'Content-Type: application/json' \
--data '{"title":"Senior agent"}'messagestring
Role updated successfully.
PUT /api/roles/update/{id} is the same endpoint.