younifyd
Menu

Delete Content Type By Codename

Delete a content type by codename

DELETE/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 Delete Content Type By Codename action (under Content Types).
  3. Fill in the fields below, then reference the result from later steps as {{deleteContentTypeByCodename.response.data}}.

Request

Path parameters

environment_idstringrequired

Environment (project) ID.

type_codenamestringrequired

Codename of the type.

Response

Returns 204 with a any. Read it in later steps with {{deleteContentTypeByCodename.response.data.<field>}}.

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

Delete Content Type By Codename — Kontent.ai — Documentation