Roles & Permissions
Update a role
Updates a role's display name, description, permissions, and role level
put/api/roles/{id}
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Id of Role to update
Request body
Example request
{
"permissions": "1,2,3"
}Response
The updated role with its permissions.
Changes
No recorded changes to this operation across all 2 revisions of this API.