Skip to content

Creates or updates a custom attribute for a group

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

Creates or updates a custom attribute for a specified group. 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 group

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