Skip to main content
POST
/
api
/
v1
/
metadata-keys
CreateMetadataKey
curl --request POST \
  --url https://your-sift-api-url.com/api/v1/metadata-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "metadataKey": {
    "name": "<string>",
    "type": "METADATA_KEY_TYPE_UNSPECIFIED",
    "archivedDate": "2023-11-07T05:31:56Z"
  }
}'
{
  "metadataKey": {
    "name": "<string>",
    "type": "METADATA_KEY_TYPE_UNSPECIFIED",
    "archivedDate": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The request of a call to MetadataService_CreateMetadataKey to create a metadata key.

metadataKey
object
required

Response

A successful response.

The response of a call to MetadataService_CreateMetadataKey to create a metadata key.

metadataKey
object
required