Skip to Content

Public M2M API — tenant

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/tenant

Exported methods: GET, PATCH

GET

  • Resource scopes: config:read
  • Response keys observed across outcomes: orgId, tenantId, workspace, workspaceId

PATCH

  • Resource scopes: config:write
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: tenantId, updated, workspace, workspaceId

Send a JSON object. A nonblank string name updates the workspace name; an object settings is merged into existing settings. If no workspace is found, the response echoes updated without persisting those values.

JSON properties observed: name, settings.

These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.