Response will contain all the cloud accounts the caller is authorized to view
curl --request POST \
--url https://api.cpln.io/org/{org}/cloudaccount/-query \
--header 'Content-Type: application/json' \
--data '{
"kind": "<string>",
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}'
{
"kind": "<string>",
"itemKind": "org",
"items": [
{}
],
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"query": {
"kind": "<string>",
"context": {},
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}
}
Service account key can be used as API keys
The body is of type object
.
Success
The response is of type object
.
curl --request POST \
--url https://api.cpln.io/org/{org}/cloudaccount/-query \
--header 'Content-Type: application/json' \
--data '{
"kind": "<string>",
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}'
{
"kind": "<string>",
"itemKind": "org",
"items": [
{}
],
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"query": {
"kind": "<string>",
"context": {},
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}
}
Response will contain all the cloud accounts the caller is authorized to view
curl --request POST \
--url https://api.cpln.io/org/{org}/cloudaccount/-query \
--header 'Content-Type: application/json' \
--data '{
"kind": "<string>",
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}'
{
"kind": "<string>",
"itemKind": "org",
"items": [
{}
],
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"query": {
"kind": "<string>",
"context": {},
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}
}
Service account key can be used as API keys
The body is of type object
.
Success
The response is of type object
.
curl --request POST \
--url https://api.cpln.io/org/{org}/cloudaccount/-query \
--header 'Content-Type: application/json' \
--data '{
"kind": "<string>",
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}'
{
"kind": "<string>",
"itemKind": "org",
"items": [
{}
],
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"query": {
"kind": "<string>",
"context": {},
"spec": {
"match": "all",
"terms": [
{
"op": "=",
"property": "<string>",
"rel": "<string>",
"tag": "<string>",
"value": "<string>"
}
],
"sort": {
"by": "<string>",
"order": "asc"
}
}
}
}