Providers
Graph
Active Directory

Manage Active Directory Integration Associations for Provider

Creates or deletes an association between an Active Directory integration and a secondary organization. This endpoint is the core mechanism for sharing or un-sharing an integration.

The caller must belong to the owner organization (the provider's primary organization).

Sample Request

curl -X POST https://console.jumpcloud.com/api/v2/providers/{provider_id}/activedirectories/{ad_id}/associations \
  -H 'accept: application/json' \
  -H 'content-type: application/json' \
  -H 'x-org-id: -' \
  -H 'x-api-key: {API_KEY}' \
  -d '{
    "op": "add",
    "type": "organization",
    "id": "org-secondary-12345"
  }'
post/providers/{provider_id}/activedirectories/{ad_id}/associations

Request

Request body

idstring required

The ObjectID of graph object being added or removed as an association.

op'add' | 'remove' | 'update' required

How to modify the graph connection.

attributesGraphAttributes nullable

The graph attributes.

type'organization' required

Targets which a "organization" can be associated to.

Response

Association successfully created or deleted

Changes

No recorded changes to this operation across all 1 revision of this API.