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
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>"
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Key
The response is of type object
.
Was this page helpful?