Skip to main content
PATCH
Change a project's settings: customer sharing, and the fields hidden from the customer or shown in the app

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

project_id
string
required

The project's id. To find it from the project's name: make_get_call with path /v1/objects/project/records and query {"filter[title][eq]": "<name>"}

Body

application/json
comment_sharing_default
enum<string> | null
Available options:
internal,
external
field_sharing
Field Sharing · object | null

The fields to change, each external or internal; null puts one back to the default. Fields not sent keep theirs

field_sharing_default
enum<string> | null
Available options:
internal,
external
fields_shown
Fields Shown · object | null

A task's standard fields to show (true) or remove (false), as task:<key>; null puts one back to the default. Fields not sent keep theirs. A custom field is added to or removed from a project with PUT or DELETE /v1/objects/project/records/{project_id}/fields/{field_key}, which also keeps it internal for sharing

shared_with_customer
boolean | null
task_hidden_fields
Task Hidden Fields · object | null

For each task sent (by id), the whole list of task fields kept from the customer on it, by bare key (status, not task:status); an empty list or null clears it. Tasks not sent keep theirs

Response

200 - application/json

Successful Response

comment_sharing_default
enum<string>
required

Whether a new comment is shown to the customer unless its writer says

Available options:
internal,
external
field_sharing
Field Sharing · object
required

Fields shown to (external) or kept from (internal) the customer, by name: project:<key> for a field of the project, task:<key> for a column of its task table, with the keys GET /v1/fields?object=project (or task) lists, standard ones included (task:status). A project's custom field is shown only when listed external

field_sharing_default
enum<string>
required

Whether a field not listed in field_sharing is shown to the customer. A project's custom field is the exception: it is shown only when listed external

Available options:
internal,
external
fields_shown
Fields Shown · object
required

Fields shown (true) or removed (false) on the project in the app (the Edit fields dialog), by name. A removed task field is kept from the customer too

fields_shown_default
boolean
required

Whether a custom field not listed in fields_shown shows in the app. Read only: the app never changes it, and the share link reads it too

shared_with_customer
boolean
required

Whether the project is shared with the customer (the Share dialog's switch). While it is off, the customer sees none of it, and comments offer no internal/external choice

task_hidden_fields
Task Hidden Fields · object
required

For a task (by id), the task fields kept from the customer on that task alone, on top of field_sharing, by bare key (status, not task:status)