---
updatedAt: 2026-10-12T19:05:38.000Z
agentTools:
  projectIndex: https://developer.daylite.app/llms.txt
---

# Role Type

Edit a role type

Attributes you leave out are not changed. `entities` replaces the whole list: record types you leave out are disabled.

A successful update returns `204 No Content`.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.marketcircle.net/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/role_types/{id}": {
      "patch": {
        "summary": "Role Type",
        "description": "Update a role type",
        "operationId": "role_type-edit",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The role type ID",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "role_name": {
                    "type": "string",
                    "description": "Name of the role type, e.g. `Decision Maker` (max 128 characters)."
                  },
                  "entities": {
                    "type": "array",
                    "description": "The types of record the role type can be used with. Replaces the current list.",
                    "items": {
                      "type": "string",
                      "enum": [
                        "Contact",
                        "Company",
                        "Opportunity",
                        "Project"
                      ]
                    }
                  },
                  "is_active": {
                    "type": "boolean",
                    "description": "Whether the role type can be assigned."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "204 No Content"
          },
          "400": {
            "description": "400 Bad Request",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"role_name\": [\n    {\n      \"error\": \"too_long\",\n      \"count\": 128\n    }\n  ]\n}"
                  }
                }
              }
            }
          },
          "404": {
            "description": "404 Not Found",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": \"invalid_id\"\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```