/portfolios/{portfolio_gid}/addCustomFieldSettingAdd a custom field to a portfolio
Adds a custom field setting to a portfolio. Supply custom_field and optionally mark the field as important or position it relative to another custom field setting. A successful response returns the created custom field setting.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Custom field setting details wrapped in a data object. custom_field is required; provide at most one of insert_before and insert_after.
A 400 is returned when custom_field is missing, the request is malformed, or both insert_before and insert_after are supplied. A 401 indicates that no valid authentication token was provided, while a 403 indicates that the authenticated user lacks access to the portfolio or the required portfolios:write scope. A 404 indicates that the portfolio or referenced setting does not exist, and a 500 indicates a server-side failure.