Skip to content

Update a workspace-user

PUT
/workspace-users/{id}
id
required
string

DocumentId

object
data
object
google_id
required
string
primary_email
required
string
display_name
string
given_name
string
family_name
string
org_unit_path
string
is_suspended
boolean
is_admin
boolean
last_login_time
string format: date-time
workspace_tenant
One of:

DocumentId reference to api::workspace-tenant.workspace-tenant

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string

Updated

object
data
object
google_id
required
string
primary_email
required
string
display_name
string
given_name
string
family_name
string
org_unit_path
string
is_suspended
boolean
is_admin
boolean
last_login_time
string format: date-time
workspace_tenant
One of:

DocumentId reference to api::workspace-tenant.workspace-tenant

string
organisation
One of:

DocumentId reference to api::organisation.organisation

string
documentId
string
id
integer
createdAt
string format: date-time
updatedAt
string format: date-time
publishedAt
string format: date-time
nullable

Validation error

Missing or invalid authentication

Not authorized (tenant scope or capability)

Not found