Change user role
Changed onAssign a new role to a user. Admins can assign any role, managers can assign user/power_user/manager roles.
Request
- Base URL: http://localhost:1135
- URL: http://localhost:1135/bodhi/v1/users/{user_id}/role
- Auth: OAuth 2 (authorization code, authorization URL /bodhi/v1/auth/initiate, token URL /bodhi/v1/auth/callback, scopes: resource_manager)
Path parameters
User ID to change role for
Request body
Response
Role changed successfully
Changes
- breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
removed 'propertyNames' constraint from the
/response property for the status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - breaking
the
/response's property type changed fromobjectnulltostringnullfor status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- breaking
- info
added the new
resource_anonymousenum value to the request property - info
added the new
resource_guestenum value to the request property
- info