roles
Updates an role
Updates an role
patch/roles/{roleId}
Request
- Base URLhttps://provisioning.commercelayer.io
- URLhttps://provisioning.commercelayer.io/roles/{roleId}
- AuthHTTP bearer
Path parameters
roleIdstring required
The ID of the resource.
Request body
Example request
{
"data": {
"id": "XGZwpOSrWL",
"attributes": {
"name": "Custom role",
"_add_missing_base_permissions": true,
"reference": "ANY-EXTERNAL-REFEFERNCE",
"reference_origin": "ANY-EXTERNAL-REFEFERNCE-ORIGIN",
"metadata": {
"foo": "bar"
}
}
}
}Response
The updated role object
Changes
No recorded changes to this operation across all 1 revision of this API.