Graph
Commands
Manage the associations of a Command
This endpoint will allow you to manage the direct associations of this Command.
A direct association can be a non-homogeneous relationship between 2 different objects, for example Commands and User Groups.
Sample Request
curl -X POST https://console.jumpcloud.com/api/v2/commands/{Command_ID}/associations \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'x-api-key: {API_KEY}' \
-d '{
"op": "add",
"type": "system_group",
"id": "Group_ID"
}'
post/commands/{command_id}/associations
Request
- Base URLhttps://console.jumpcloud.com/api/v2
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-org-idstring
Organization identifier that can be obtained from console settings.
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.