Update Audience Tenant
Not available yet. This operation is part of the published contract and answers
501 not_implementeduntil it is built. The request and response shapes below are final for this contract version.
HTTPBearerAuthorizationBearer <token>Bearer credential. API keys look like sqk_<geo>_<key_id>_<secret>: treat them as opaque and never put one in a browser. Older keys without the geo part stay valid until rotated. Find a geo's endpoints through GET /.well-known/sparq-discovery before sending a key.
audience_tenant_id*Audience Tenant IduuidSparq-Workspace?stringFor a person signed in to a console with several workspaces: the workspace this call is for, one of their memberships (listMyMemberships). Without it such a person gets workspace_required (400); a workspace they are not a member of is forbidden. It never grants anything, and other callers' credentials ignore it.
uuidIf-Match?stringThe ETag you last read. A different current version is precondition_failed (412). Optional in 0.5.0.
application/json- body
PATCH /v1/admin/audience-tenants/{audience_tenant_id}.
Suspension is the lasting state and is refused at sign-in; a kill switch on the client is the emergency stop for running work (agreed 27 Oct 2026).
name?|nullstatus?|nullSuccessful Response
application/json- response
A customer of the host application, or the project's own reserved tenant.
audience_tenant_id*Audience Tenant Iduuidproject_id*Project Iduuidkind*Kind'project' marks the one reserved tenant each project has; it has no external_id and cannot be created or deleted through the API.
"customer""project"external_id*|The host's identifier; empty for 'project'.
name*Namestatus*Status"active""suspended"created_at*Created Atdate-timeregion?|Where the client's data lives.
curl -X PATCH 'http://dev-sparq.centralindia.cloudapp.azure.com:8000/v1/admin/audience-tenants/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ -H 'Content-Type: application/json' \ -d '{}'{ "audience_tenant_id": "0287c3f7-886a-49f4-a73e-03577e798c26", "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9", "kind": "customer", "external_id": "string", "name": "string", "status": "active", "created_at": "2019-08-24T14:15:22Z", "region": "westeurope"}List Workspaces GET
Every workspace for an operator; a workspace admin's own workspace otherwise.
Update Environment PATCH
> **Not available yet.** This operation is part of the published contract and answers `501 not_implemented` until it is built. The request and response shapes below are final for this contract version.