Skip to main content

Adding Metadata Keys

A metadata-key in Shield looks like

{
"metadatakey": {
"key": "manager",
"description": "manager of this user"
}
}

API Interface

Create metadata keys

$ curl --location --request POST 'http://localhost:8000/admin/v1beta1/metadatakey'
--header 'Content-Type: application/json'
--header 'Accept: application/json'
--data-raw '{
"key": "manager",
"description": "manager of this user"
}'