API ReferenceManagementCompany Audit Connector Management
GET
/v1/mgmt/company/audit/connector

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Query Parameters

id*string

Required. The connector id, as CreateConnector and LoadAllConnectors return it; ids starting with MP are messaging providers.

Get the company's audit connector by id, using a company management key with the company-full-access role, with its configuration. Secret values are returned as PLACEHOLDER_VALUE.

curl -X GET "https://api.descope.com/v1/mgmt/company/audit/connector?id=string"
{  "id": "string",  "name": "string",  "type": "string",  "status": "enabled",  "description": "string",  "configuration": {}}
export interface Response {/** * The connector id, assigned by the server on create and required on update. */id?: string/** * The connector's display name. */name: string/** * The connector template id, such as `http`, which cannot change after create. LoadAllConnectorTemplates lists the *  available templates. */type: string/** * Either `enabled` or `disabled`, defaults to `enabled` on create. A disabled connector is not run by flows or *  automatic triggers; audit streaming ignores `status` and follows the template's `auditEnabled` configuration field *  if it has one, and is otherwise always on. While its secrets are placeholders, create a connector `disabled`, also *  set `auditEnabled: false` on an audit connector whose template has that field, and enable it once the real values *  are in. */status?: ("enabled" | "disabled" | "")/** * A free text description of the connector. */description?: string/** * The template's configuration fields by name, as GetConnectorTemplate describes them. Checked against the template *  on create and update, with missing defaults filled in; not checked for messaging providers, which have no template. *  Secret values are returned as `PLACEHOLDER_VALUE`, and sending that value back keeps the stored secret. */configuration?: {}}
Was this helpful?