cURL
curl --request PUT \ --url https://api.gcore.com/storage/provisioning/v1/key \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "name": "<string>" } '
{ "created_at": "<string>", "id": 123, "name": "<string>" }
Creates key and returns it
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Key
Was this page helpful?