cURL
curl --request PATCH \ --url https://api.cpln.io/org/{org}/cloudaccount/{name} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "$drop": [ "description" ], "name": "<string>", "description": "<string>", "tags": {}, "$replace/tags": {}, "provider": "aws", "$replace/data": { "projectId": "<string>" }, "data": { "$drop": [ "projectId" ], "projectId": "<string>" } } '
{ "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>" } ], "provider": "aws", "data": { "projectId": "<string>" }, "status": { "usable": true, "lastChecked": "2023-11-07T05:31:56Z", "lastError": "<string>" } }
Service account key can be used as API keys
description
tags
provider
data
64
250
aws
gcp
azure
ngs
Show child attributes
Success