admin

Add the calling operator to a project's workspace, or change their role there

The operator is the verified bearer identity, never the body. Writes a workspace audit row.

put/api/admin/projects/{project_id}/membership

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/admin/projects/{project_id}/membership
  • Auth
    none declared

Path parameters

project_idinteger required

Headers

Authorizationstring

Bearer <Google Workspace ID token> of the operator

Request body

$schemastring uri

A URL to the JSON Schema for this object.

role'admin' | 'member' | 'viewer' required

Workspace role to hold

Example request

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

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

changedboolean required

False when the operator already held this role

project_idinteger required
project_urlstring required
rolestring required
workspace_idinteger required

Example response

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

Changes

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