---
title: "AccountTypes.create"
method: POST
path: "/entities/AccountTypes"
tags: ["Account"]
---

# AccountTypes.create

`POST /entities/AccountTypes`

Creates new AccountType

## Query parameters

- `validation-level` integer

## Response `201`

Creation confirmation. Returns created AccountType

- object
  - `success` boolean — True when response succeeded, false on error.
  - `data` AccountType
    - `has_draft` boolean, required — Set to True if draft for entity exists and can be published
    - `is_delete_protected` boolean, required — Tells if the entity instance is protected against delete (Entities that need to be present in the system at any time). Delete action still may fail if entity is deletable, due some other additional validations.
    - `form_edit_api` object, required — API-friendly form definition. Returns the published form merged with any pending draft changes; read via this field, modify via the underlying form_edit / form_lost field through drafts.
    - `can_change_readonly` boolean — Returns if user can change readonly flag on this entity_type.
    - `id` string, uuid, required — Unique identifier of entity.
    - `is_deleted` boolean — Specifies if the entity is considered deleted.
    - `modified` string, date-time — Last modification time.
    - `created` string, date-time — Creation time.
    - `form_edit` object — JSON definition of the edit form layout used by the UI when creating or editing accounts of this type. Contains tabs, sections, and field placement.
    - `is_readonly` boolean, required — True when the account type is system-managed and cannot be edited or deleted by users.
    - `name` string, required — Name of the entity and its default text representation.
    - `settings` string, binary, required — Per-type configuration for records of this entity type, e.g. allowed task and appointment types that may be linked to records of this type.
    - `is_published` boolean — True when the entity configuration is published; false while it exists only as an unpublished draft.
    - `revision` integer — Revision when entity was lastly changed.

## Other responses

- `500` — unexpected error

---

[API](https://skmtc.net/aws/apis/pipeliner-cloud-api.md) · [All operations](https://skmtc.net/aws/apis/pipeliner-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/pipeliner-cloud-api/versions/e8c12ae60aca/schema)
