Patch a Custom Profile Attribute field
PATCH/api/v4/custom_profile_attributes/fields/:field_id
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Partially update a Custom Profile Attribute field. Only the fields
in the request body can be updated; omitted fields are unchanged.
Fields with attrs.protected = true, and fields linked to a global
attribute template, can't be changed.
Replaced by
PATCH /api/v4/properties/groups/access_control/user/fields/{field_id}.
Minimum server version: 10.5
Permissions
Must have manage_system permission.
Request
Responses
- 200
- 400
- 401
- 403
- 422
Custom Profile Attribute field patch successful
The request is invalid, or the field is linked to a global attribute template (error ID api.custom_profile_attributes.linked_field.app_error), as fields created before v12.0 or in Attribute Management are. Change a linked field through the Properties API.
No access token provided
Do not have appropriate permissions
Validation error. Returned when a name change does not match the required identifier pattern, is a CEL reserved word, or when attrs.display_name exceeds 255 characters.