GET
/
v1
/
keys
/
{keyId}
curl --location --request POST 'https://api.getmetal.io/v1/keys/{keyId}' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
{
  "data": {
    "id": "1",
    "name": "My first key"
    "keyLastFour": "1234",
    "clientId": "1234567890"
  }
}

Auth Headers

x-metal-api-key
string
required

An API key for your org.

x-metal-client-id
string
required

A Client ID for your org.

Response

data
Key Object
curl --location --request POST 'https://api.getmetal.io/v1/keys/{keyId}' \
--header 'Content-Type: application/json' \
--header 'x-metal-api-key: <api-key>' \
--header 'x-metal-client-id: <client-id>' \
{
  "data": {
    "id": "1",
    "name": "My first key"
    "keyLastFour": "1234",
    "clientId": "1234567890"
  }
}