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"
}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"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
The id of the encryption material