members

Update a member's role (admin only)

put/api/workspaces/{workspace_id}/members/{user_id}

Request

  • Base URL
    https://api.hillstar.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.hillstar.ai/api/workspaces/{workspace_id}/members/{user_id}
  • Auth
    none declared

Path parameters

workspace_idinteger required

Workspace ID

user_idinteger required

Target user ID

Request body

$schemastring uri

A URL to the JSON Schema for this object.

rolestring required

Example request

{
  "$schema": "https://example.com/api/schemas/MemberUpdateRequest.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

created_atstring date-time required
emailstring
first_namestring
idinteger required
last_namestring
rolestring required
user_idinteger required
workspace_idinteger required

Example response

{
  "$schema": "https://example.com/api/schemas/MemberResponse.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.