Authorizations
Service account key can be used as API keys
Path Parameters
Response
The agent was created successfully. The Response will contain the bootstrap config JSON text that is required when configuring an agent at a cloud provider.
curl --request POST \
--url https://api.cpln.io/org/{org}/agent \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"tags": {}
}'
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"status": {
"bootstrapConfig": {
"registrationToken": "<string>",
"agentId": "<string>",
"agentLink": "<string>",
"hubEndpoint": "<string>"
}
}
}
curl --request POST \
--url https://api.cpln.io/org/{org}/agent \
--header 'Content-Type: application/json' \
--data '{
"description": "<string>",
"tags": {}
}'
{
"id": "<string>",
"name": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"status": {
"bootstrapConfig": {
"registrationToken": "<string>",
"agentId": "<string>",
"agentLink": "<string>",
"hubEndpoint": "<string>"
}
}
}
Service account key can be used as API keys
The agent was created successfully. The Response will contain the bootstrap config JSON text that is required when configuring an agent at a cloud provider.