Skip to main content
POST
/
encryption-materials
Create an encryption material
curl --request POST \
  --url https://api-dev.narrative.io/encryption-materials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "display_name": "My encryption material",
  "description": "Some kind of description",
  "tags": [
    "use-case-1"
  ]
}
'
{
  "id": "tmh-9w"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
display_name
string
required

The name of the encryption material

description
string

The description of the encryption material. Optional.

Tags
string[]

Each tag must be less than 256 chars. Optional.

Response

OK

id
string
required

The id of the encryption material