Properties
| Name | Type | Description |
|---|---|---|
| string | Email address of the user. Also used as their login identifier. | |
| firstName | string | Given name of the user. |
| lastName | string | Family name of the user. |
| status | object | New status for the user. Only the following transitions are allowed: - `active` → `inactive` (deactivate an active user) - `inactive` → `active` (reactivate a deactivated user) - `invited` → `inviteCa |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cosuno/json-schema/cosuno-update-user-input-schema.json",
"title": "UpdateUserInput",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cosuno-users-api-openapi.yml#/components/schemas/UpdateUserInput",
"allOf": [
{
"$ref": "#/$defs/Partial_UserBase_"
},
{
"properties": {
"status": {
"$ref": "#/$defs/Extract_USER_STATUS.active-or-inactive-or-invited-or-inviteCanceled_",
"description": "New status for the user. Only the following transitions are allowed:\n- `active` → `inactive` (deactivate an active user)\n- `inactive` → `active` (reactivate a deactivated user)\n- `invited` → `inviteCanceled` (cancel a pending invitation)\n- `inviteCanceled` → `invited` (restore a cancelled invitation)"
}
},
"type": "object"
},
{
"anyOf": [
{
"properties": {
"type": {
"$ref": "#/$defs/PRINCIPAL_USER_TYPE",
"description": "Built-in account type to assign to the user."
}
},
"type": "object"
},
{
"properties": {
"customUserRoleId": {
"type": "string",
"description": "ID of the custom user role to assign. Obtainable via `GET /users/custom-types`."
},
"type": {
"$ref": "#/$defs/CUSTOM_USER_TYPE",
"description": "Indicates that a custom account type is being assigned; `customUserRoleId` must also be provided."
}
},
"required": [
"customUserRoleId",
"type"
],
"type": "object"
}
]
}
],
"$defs": {
"CUSTOM_USER_TYPE": {
"type": "string",
"enum": [
"custom"
]
},
"Extract_USER_STATUS.active-or-inactive-or-invited-or-inviteCanceled_": {
"type": "string",
"enum": [
"invited",
"inviteCanceled",
"active",
"inactive"
],
"description": "Extract from T those types that are assignable to U"
},
"PRINCIPAL_USER_TYPE": {
"enum": [
"administrator",
"guest",
"collaborator",
"manager"
],
"type": "string"
},
"Partial_UserBase_": {
"properties": {
"email": {
"type": "string",
"description": "Email address of the user. Also used as their login identifier.",
"format": "email",
"maxLength": 200
},
"firstName": {
"type": "string",
"description": "Given name of the user.",
"maxLength": 100
},
"lastName": {
"type": "string",
"description": "Family name of the user.",
"maxLength": 100
}
},
"type": "object",
"description": "Make all properties in T optional"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cosuno-update-user-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.