Skip to content

Replace application metadata

PUT
/api/v3/organizations/{organisation}/applications/{application}/metadata
curl --request PUT \
--url https://dashboard.quantcdn.io/api/v3/organizations/example/applications/example/metadata \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "team": "web", "cost_centre": "1234" }'

Replaces the whole metadata set. An empty object removes all metadata.

organisation
required
string
application
required
string
Media typeapplication/json

Free-form key/value metadata. Maximum 50 pairs. Keys are 1-128 characters, values 0-256 characters. Letters, digits, space and + - = . _ : / @ only. Keys starting with ‘quant:’ are reserved.

object
<= 50 properties
key
additional properties
string
<= 256 characters
Example
{
"team": "web",
"cost_centre": "1234"
}

The resulting metadata

Media typeapplication/json
object
metadata
required

Free-form key/value metadata. Maximum 50 pairs. Keys are 1-128 characters, values 0-256 characters. Letters, digits, space and + - = . _ : / @ only. Keys starting with ‘quant:’ are reserved.

object
<= 50 properties
key
additional properties
string
<= 256 characters
Example
{
"metadata": {
"team": "web",
"cost_centre": "1234"
}
}

Invalid metadata

Media typeapplication/json
object
message
string
errors
Array<string>
Example
{
"message": "Invalid metadata"
}

The application was not found

The write conflicts with the current metadata