Set Visibility by Client
Updates a custom field’s visibility to visible or hidden for a specific client. This endpoint will not overwrite any project visibility settings below this client.
URLs
Environment | Method | URL |
---|---|---|
Sandbox | https://api-sandbox.fndev.net/api/rest/v2/custom-fields/custom_field_id/visibility/client/client_id/:visibility | |
Production | https://api.fieldnation.com/api/rest/v2/custom-fields/custom_field_id/visibility/client/client_id/:visibility |
Path Parameters
Parameter | Type | Example | Notes |
---|---|---|---|
custom_field_id | integer | 140 | Custom Field ID. |
client_id | integer | 188 | Client ID. |
:visibility | string | visible | Field visibility at the client level. |
Query Parameters
Parameter | Type | Example | Notes |
---|---|---|---|
access_token | string | abc123defg459hijk786lmn45 | Required. |
Body
Not applicable.
Response
Returns the custom field id.
Examples
https://URL/custom-fields/140/visibility/client/188/hidden?access_token=abc123defg459hijk786lmn45
[
"140"
]