cURL
curl --request POST \ --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 '{}'
{ "name": "api-key-1", "secret": "secretpassword", "secret_id": "123e4567-e89b-12d3-a456-426614174000" }
Create a new network secret for the authenticated network
Network ID
Network Secret
Network secret details
The body is of type object.
object
Created
Response for creating a network secret
"api-key-1"
"secretpassword"
"123e4567-e89b-12d3-a456-426614174000"
Was this page helpful?