Skip to Content
Omnibase

Update a tenant user's role

PUT
/api/v1/tenants/users

Authorization

headerX-Session-Token<token>

Kratos session JWT token. Alternative to cookie authentication for non-browser clients.

Request Body

application/json
  1. body
role*string
user_id*string

Response Body

OK

application/json
  1. response
message*string
Example Request
curl -X PUT 'https://api.omnibase.tech/api/v1/tenants/users' \  -H 'Content-Type: application/json' \  -d '{  "role": "member",  "user_id": "550e8400-e29b-41d4-a716-446655440001"}'
Example Response
{  "message": "User role updated successfully"}