Skip to main content
POST
/
api
/
v1
/
accessconflict
Typescript (SDK)
import { ConductoroneSDKTypescript } from "conductorone-sdk-typescript";

const conductoroneSDKTypescript = new ConductoroneSDKTypescript({
  security: {
    bearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
    oauth: "<YOUR_OAUTH_HERE>",
  },
});

async function run() {
  const result = await conductoroneSDKTypescript.accessConflict.createMonitor();

  console.log(result);
}

run();
{
  "createdAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "displayName": "<string>",
  "enabled": true,
  "entitlementSetAId": "<string>",
  "entitlementSetBId": "<string>",
  "id": "<string>",
  "notificationConfig": {
    "emailNotifications": {
      "enabled": true,
      "identityUserIds": [
        "<string>"
      ]
    },
    "slackNotifications": {
      "channelId": "<string>",
      "channelName": "<string>",
      "enabled": true
    }
  },
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

The ConflictMonitorCreateRequest message.

displayName
string
required

The displayName field.

description
string | null

The description field.

notificationConfig
Notification Config · object

The NotificationConfig message.

Response

200 - application/json

Successful response

The ConflictMonitor message.

createdAt
string<date-time> | null
deletedAt
string<date-time> | null
description
string | null

The description field.

displayName
string | null

The displayName field.

enabled
boolean | null

The enabled field.

entitlementSetAId
string | null

The entitlementSetAId field.

entitlementSetBId
string | null

The entitlementSetBId field.

id
string | null

The id field.

notificationConfig
Notification Config · object

The NotificationConfig message.

updatedAt
string<date-time> | null