Skip to main content
DELETE
/
v0
/
networks
/
secrets
Delete network secret
curl --request DELETE \
  --url https://controller.platform.simplecloud.app/v0/networks/secrets \
  --header 'Content-Type: application/json' \
  --header 'X-Network-ID: <x-network-id>' \
  --header 'X-Network-Secret: <x-network-secret>' \
  --data '{}'
{
  "message": "Secret deleted successfully",
  "secret_id": "123e4567-e89b-12d3-a456-426614174000"
}

Headers

X-Network-ID
string
required

Network ID

X-Network-Secret
string
required

Network Secret

Query Parameters

secret_id
string
required

Secret ID

Body

application/json

The body is of type object.

Response

OK

Response for deleting a network secret

message
string
Example:

"Secret deleted successfully"

secret_id
string
Example:

"123e4567-e89b-12d3-a456-426614174000"