Skip to main content
PATCH
Change a member's role

Authorizations

session
string
cookie
required

The session cookie set when you sign in to AgentHub or ModelHub in a browser. The cookie name shown here is illustrative. There are no API tokens for these endpoints.

Path Parameters

orgId
string<uuid>
required

Organization id.

userId
string<uuid>
required

The member's user id.

Body

application/json
role
enum<string>
required
Available options:
Owner,
Admin,
Editor,
Viewer

Response

Updated.

data
object
required