IntegrationsGoogle workspaceActions
Suspend Google Workspace user
Set a Google Workspace user's suspended state.
users.suspend · Google Workspace · v1
Details
Scopes
https://www.googleapis.com/auth/admin.directory.user
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
user_key | string | Yes | minLength 1 |
suspended | boolean | Yes | — |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
id | string | Yes | — |
primary_email | string | Yes | — |
suspended | boolean | Yes | — |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"user_key": {
"type": "string",
"minLength": 1
},
"suspended": {
"type": "boolean"
}
},
"required": [
"user_key",
"suspended"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"primary_email": {
"type": "string"
},
"suspended": {
"type": "boolean"
}
},
"required": [
"id",
"primary_email",
"suspended"
]
}