Graph
Commands
List the associations of a Command
This endpoint will return 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 GET https://console.jumpcloud.com/api/v2/commands/{Command_ID}/associations?targets=system_group \
-H 'accept: application/json' \
-H 'content-type: application/json' \
-H 'x-api-key: {API_KEY}'
get/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.
Query parameters
targetsstring[] required
Targets which a "command" can be associated to.
limitinteger
The number of records to return at once. Limited to 100.
skipinteger
The offset into the records to return.
Headers
x-org-idstring
Organization identifier that can be obtained from console settings.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.