Skip to main content
POST
UpsertType

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
type
Type · object
required

Custom entity type to create or update.

allowRename
boolean

Rename a live type that uses the same type_id under another name, instead of failing with ALREADY_EXISTS. Set it only for a type you own: the check is what stops two integrations that picked the same type_id from overwriting each other.

actor
Actor · object

Who is performing this write. Optional: the identity is completed from the calling credentials. Set it to attribute the change to a person, for example when a tool writes on behalf of a user. Read it back as the type's updated_by.

Response

200 - application/json

Success

The response is of type UpsertTypeResponse · object.