Update User Role and associate Entitlement if provided and active
1 min
PUT
https://api.b.preview.loyaltyservices.io/api/v3/user-roles/{userRoleId}
userRoleIdinteger<int64>User role identifier
acceptstringGenerated from available response content types
bodyobject
200Success
400Bad request
401Unauthorized
403Forbidden
500Internal error
curl --request PUT \
--url https://api.b.preview.loyaltyservices.io/api/v3/user-roles/{userRoleId} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"roleName": "",
"roleDescription": "",
"rank": ""
}'