Skip to main content

Update property values for a target

PATCH 

/api/v4/properties/groups/:group_name/:object_type/values/:target_id

Update one or more property values for a specific target within a group. Uses upsert semantics: creates the value if it doesn't exist, updates it if it does. A request sets up to 50 values, each for a different field in the group. Values of the system object type are set through the dedicated /api/v4/properties/groups/{group_name}/system/values endpoint.

Minimum server version: 11.7

Permissions​

Depends on the object type: for channel, manage_public_channel_properties or manage_private_channel_properties on the channel, or membership of a direct or group message channel; for post, create_post in the post's channel; for user, being the user or having edit_other_users. The caller also needs permission to set values of each field in the request.

Request​

Responses​

Property values update successful