Manage telemetry receiver settings
POST /api/auth/telemetry/manage
Verified workspace administrator browser session and exact Origin header required. Account/dataset/privacy binding is immutable. Rotate returns a one-time hashed-at-rest ingestion credential for 1?365 days. Rotation/disconnection invalidates pending uploads. Archive requires disconnection; restore does not restore credentials. Mutations except create require expectedRevision. Delete requires disconnect first, expectedRevision and confirm true; supports archived receivers and idempotent same-revision retries. Removes connection settings and delivery diagnostics while preserving inventory, immutable evidence and archive work. Dedupe markers retain their normal thirty-day expiry. Late uploads and probes cannot revive deleted receivers. Normal read/status/restore and ingestion return 404. Disable or remove the provider job separately; no provider API is called.
Allowed roles: admin.
Authentication
The following OpenAPI alternatives describe accepted authentication. Browser mutations also require the canonical Origin header.
[
{
"browserSession": []
}
]
Parameters
[]
Request body
{
"required": true,
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"type": "string",
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"consent": {
"type": "boolean",
"const": true
}
},
"required": [
"operation",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"consent"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "list"
},
"after": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"archived": {
"type": "boolean"
}
},
"required": [
"operation"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "read"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"operation",
"connectionId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "rename"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
}
},
"required": [
"operation",
"connectionId",
"expectedRevision",
"name"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "rotate"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"expiresInDays": {
"default": 90,
"type": "integer",
"minimum": 1,
"maximum": 365
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "delete"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"confirm": {
"type": "boolean",
"const": true
}
},
"required": [
"operation",
"connectionId",
"expectedRevision",
"confirm"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "disconnect"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "archive"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "restore"
},
"connectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
}
},
"required": [
"operation",
"connectionId",
"expectedRevision"
],
"additionalProperties": false
}
]
}
}
}
}
Responses
{
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"type": "object",
"properties": {
"receiverStatus": {
"enum": [
"ready",
"expired",
"authorization-required",
"credential-required",
"disconnected",
"archived"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"credential-required",
"configured",
"disconnected"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"consentedAt": {
"type": "string",
"format": "date-time"
},
"consentedBy": {
"type": "string"
},
"credentialExpiresAt": {
"type": "string",
"format": "date-time"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"revision",
"state",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy",
"consentedAt",
"consentedBy"
]
},
{
"type": "object",
"properties": {
"items": {
"type": "array",
"maxItems": 100,
"items": {
"type": "object",
"properties": {
"receiverStatus": {
"enum": [
"ready",
"expired",
"authorization-required",
"credential-required",
"disconnected",
"archived"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"credential-required",
"configured",
"disconnected"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"consentedAt": {
"type": "string",
"format": "date-time"
},
"consentedBy": {
"type": "string"
},
"credentialExpiresAt": {
"type": "string",
"format": "date-time"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"revision",
"state",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy",
"consentedAt",
"consentedBy"
]
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
},
"required": [
"items",
"nextCursor"
]
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"deleted": {
"const": true
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"maximum": 1000000000
},
"deletedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"deleted",
"expectedRevision",
"deletedAt"
]
},
{
"type": "object",
"properties": {
"connection": {
"type": "object",
"properties": {
"receiverStatus": {
"enum": [
"ready",
"expired",
"authorization-required",
"credential-required",
"disconnected",
"archived"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
},
"accountId": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"dataset": {
"const": "zero_trust_network_sessions"
},
"retainEndpointAddresses": {
"type": "boolean"
},
"revision": {
"type": "integer"
},
"state": {
"enum": [
"credential-required",
"configured",
"disconnected"
]
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"updatedBy": {
"type": "string"
},
"consentedAt": {
"type": "string",
"format": "date-time"
},
"consentedBy": {
"type": "string"
},
"credentialExpiresAt": {
"type": "string",
"format": "date-time"
},
"revokedAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"id",
"tenantId",
"name",
"accountId",
"dataset",
"retainEndpointAddresses",
"revision",
"state",
"createdAt",
"updatedAt",
"createdBy",
"updatedBy",
"consentedAt",
"consentedBy"
]
},
"token": {
"type": "string",
"description": "One-time receiver credential. Store securely; never logged or returned again."
}
},
"required": [
"connection",
"token"
]
}
]
}
}
}
},
"400": {
"description": "Validation error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"401": {
"description": "Missing/expired/revoked credential",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"403": {
"description": "Insufficient role",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"404": {
"description": "Not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"409": {
"description": "State or idempotency conflict",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"413": {
"description": "Body too large",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"415": {
"description": "Unsupported media type",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"429": {
"description": "Request budget exhausted; respect Retry-After",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"headers": {
"Retry-After": {
"schema": {
"type": "integer",
"minimum": 1
},
"description": "Seconds until sufficient budget is expected; concurrent traffic may consume replenished capacity."
}
}
},
"500": {
"description": "Internal error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
},
"503": {
"description": "Not configured",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
References such as #/components/schemas/Asset resolve in shared schemas. Download the OpenAPI contract for client generation. This page is generated; it describes the implemented development API, not planned endpoints.