Skip to content

Creates or updates a custom attribute for a project

PUT
/api/v4/projects/{id}/custom_attributes/{key}

Creates or updates a custom attribute for a specified project. If the attribute already exists, it is updated, otherwise a new attribute is created.

key
required
string

The key of the custom attribute

id
required
One of:
string

The ID or URL-encoded path of the project

Example
1
Media type application/json
object
value
required

The value of the custom attribute

string
nullable
Example generated
{
"value": "example"
}

OK

Media type application/json
object
key
string
value
string
Example
{
"key": "foo",
"value": "bar"
}

Bad Request

Not Found