Agent
Entity fields:
Path
Type
Description
Example:
POST {{terrakubeApi}}/api/v1/organization/{{organizationId}}/agent
{
"data": {
"type": "agent",
"attributes": {
"name": "sample-agent",
"url": "http://localhost:8090",
"description": "This is a sample agent"
}
}
}Supported Operations:
get
Returns the collection of agent
Path parameters
organizationIdstringRequired
organization Identifier
Query parameters
page[number]integerOptional
page[size]integerOptional
Responses
200
Successful response
application/vnd.api+json
get/organization/{organizationId}/agent
200
Successful response
post
Creates an item of type agent
Path parameters
organizationIdstringRequired
organization Identifier
Body
Responses
201
Successful response
application/vnd.api+json
post/organization/{organizationId}/agent
201
Successful response
get
Returns an instance of type agent
Path parameters
organizationIdstringRequired
organization Identifier
agentIdstringRequired
agent Identifier
Query parameters
Responses
200
Successful response
application/vnd.api+json
get/organization/{organizationId}/agent/{agentId}
200
Successful response
delete
Deletes an instance of type agent
Path parameters
organizationIdstringRequired
organization Identifier
agentIdstringRequired
agent Identifier
Responses
204
Successful response
No content
delete/organization/{organizationId}/agent/{agentId}
204
Successful response
No content
patch
Modifies an instance of type agent
Path parameters
organizationIdstringRequired
organization Identifier
agentIdstringRequired
agent Identifier
Body
Responses
204
Successful response
No content
patch/organization/{organizationId}/agent/{agentId}
204
Successful response
No content
Last updated
Was this helpful?