UpdateUserRoleRequest
Fields
1 field
role· required- UserRole
Raw schema (JSON)
{
"properties": {
"role": {
"$ref": "#/components/schemas/UserRole"
}
},
"required": [
"role"
],
"title": "UpdateUserRoleRequest",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
PATCH/api/v1/users/{user_id}/role— Update User Role
Used by schemas
Section titled “Used by schemas”No other schema contains this one.
More details
Section titled “More details”- Specification: OpenAPI JSON