Assign a form to a table

Assigns a form to a table of a project. The form replaces the form already assigned to the table, if any.

Required role: ORG_EDITOR, and the current user must have the MODIFY permission on the project.

Fields

FieldRequiredDescription
formIdYesThe id of a form of the table's data source.

Response

result is the id of the assigned form.

When it fails

400 if formId is missing or empty, or if the form isn't a form of the table's data source in your organization.

Form assignment

Forms are created on a data source (POST .../datasources/{datasource}/forms). Assigning a form to a table makes it the form used to edit the table's rows in the project. A table has at most one form.

  • The form must be a form of the table's data source, owned by your organization. The forms of a data source shared by another organization can't be assigned.
  • The id of the assigned form is also the formId of the table (GET .../tables/{table}).
  • Deleting the form removes the assignment: the table then has no form. Copying a project copies its tables with their form.

Organization and project

organization must be the organization of the access token, and the project must belong to it. The table must belong to the project; otherwise the request returns 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required

Id of your organization (must match the access token)

uuid
required

Id of the project

uuid
required

Id of the table (a table of the project)

Body Params

The form to assign

uuid
required

Id of the form to assign. It must be a form of the data source of the layer or table.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json