younifyd
Menu

Patch Content Type By Codename

Update a content type by codename

PATCH/v2/projects/{environment_id}/types/codename/{type_codename}

Use it in a workflow

  1. Add a step and choose the Kontent.ai connector.
  2. Pick the Patch Content Type By Codename action (under Content Types).
  3. Fill in the fields below, then reference the result from later steps as {{patchContentTypeByCodename.response.data}}.

Request

Path parameters

environment_idstringrequired

Environment (project) ID.

type_codenamestringrequired

Codename of the type.

Response

Returns 200 with an object. Read it in later steps with {{patchContentTypeByCodename.response.data.<field>}}.

Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.