cURL
curl --request POST \ --url https://console.gmicloud.ai/api/v1/firewalls/{id}/associate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "instances": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
200
Example
{ "result": "container 12345678-1234-2234-3234-xxxxxxxxxxxxxx has been restarted"}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
An action completed successfully