Create a property field
POST/api/v4/properties/groups/:group_name/:object_type/fields
Create a new property field for a specific group and object type.
Minimum server version: 11.7
Permissions
Depends on the field's target_type: create_post on the channel for channel, manage_team on the team for team, and manage_system for system. A template field always requires manage_system.
Request
Responses
- 201
- 400
- 401
- 403
- 409
- 422
- 501
Property field creation successful
Invalid or missing parameters in URL or request body
No access token provided
Do not have appropriate permissions
A property field with the same name already exists at the same or a conflicting hierarchy level.
The group's field limit has been reached (the access_control group holds at most 200 fields, at most 20 of them with object type user), or, in the access_control group, the name isn't a valid identifier.
Feature is disabled