Avisi cloud logo
Cloud accounts

Create Digital Ocean credentials inside an Digital Ocean cloud account.

POST
/api/v1/orgs/{organisationSlug}/cloud-accounts/{cloudAccountIdentity}/credentials/digitalocean

Request Body

application/jsonRequired

displayNamestring

metadataobject

credentialsobject

Path Parameters

organisationSlug
Required
string

cloudAccountIdentity
Required
string

Format: "uuid"
curl -X POST "http://localhost:8090/api/v1/orgs/string/cloud-accounts/497f6eca-6276-4993-bfeb-53cbbbba6f08/credentials/digitalocean" \
  -H "Content-Type: application/json" \
  -d '{
    "displayName": "string",
    "metadata": {
      "property1": "string",
      "property2": "string"
    },
    "credentials": {
      "apiKey": "string"
    }
  }'

Request was successfully processed. The response body contains the requested data.

{
  "identity": "10a80a7a-1a32-4a74-b592-aa2a4ef691c5",
  "displayName": "string",
  "cloudType": "string",
  "cloudAccountIdentity": "763d6cbd-4c53-4613-bba9-cb8f34de18a7",
  "createdAt": "2019-08-24T14:15:22Z",
  "metadata": {
    "property1": "string",
    "property2": "string"
  },
  "isPrimary": true
}