curl --request PATCH \
--url https://api.cpln.io/org/{org}/location/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"provider": "aws",
"region": "<string>",
"spec": {
"$drop": [
"enabled"
],
"enabled": true
},
"$replace/spec": {
"enabled": true
}
}'
{
"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>"
}
],
"origin": "default",
"provider": "aws",
"region": "<string>",
"spec": {
"enabled": true
},
"status": {
"geo": {
"lat": 123,
"lon": 123,
"country": "<string>",
"state": "<string>",
"city": "<string>",
"continent": "<string>"
},
"ipRanges": [
"<string>"
]
}
}
curl --request PATCH \
--url https://api.cpln.io/org/{org}/location/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"provider": "aws",
"region": "<string>",
"spec": {
"$drop": [
"enabled"
],
"enabled": true
},
"$replace/spec": {
"enabled": true
}
}'
{
"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>"
}
],
"origin": "default",
"provider": "aws",
"region": "<string>",
"spec": {
"enabled": true
},
"status": {
"geo": {
"lat": 123,
"lon": 123,
"country": "<string>",
"state": "<string>",
"city": "<string>",
"continent": "<string>"
},
"ipRanges": [
"<string>"
]
}
}
Service account key can be used as API keys
The body is of type object
.
Success
The response is of type object
.