Skip to main content

Set EntityType

PUT 

/entityTypes/:entityTypeId

Sets an entity type.

Existing PRESET entity type names cannot be changed, including when createIfMissing=true. CUSTOM entity types can be renamed.

Requires WRITE_RETENTION_POLICY for the PRESET RetentionPolicy type, WRITE_REMINDER_POLICY for the PRESET ReminderPolicy type, or WRITE_ENTITY for other types. The dedicated preset permission replaces the generic entity permission; WRITE_ENTITY alone does not authorize either dedicated preset. Existing types use their stored namespace and name. When creating a missing type, the namespace and name in the request body determine the permission. Updating an existing type must not bypass its current permission requirement.

Request​

Responses​

200 OK

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers

Privacy settings

Analytics is optional. Your analytics choice is shared with formkiq.com and remembered for up to six months. Change it here at any time.

Essential preferences and search

We remember your privacy choice and display preferences. Search runs in your browser using Pagefind files hosted with the docs. It works whether you accept or reject analytics.

Measure page views and installation-link clicks. This does not enable advertising on the docs. Existing marketing choices for the main website are kept unchanged.

Read the docs privacy notice or manage other main-website privacy choices.