---
title: "Update Entity Profile"
method: PUT
path: "/api/v1/websites/{website_id}/entity-profile"
tags: ["entity-schema"]
---

# Update Entity Profile

`PUT /api/v1/websites/{website_id}/entity-profile`

## Request

- Base URL: `https://api.seoproai.co`
- URL: `https://api.seoproai.co/api/v1/websites/{website_id}/entity-profile`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/authorize`, token URL `https://dajosjnaalanhqksxrpe.supabase.co/auth/v1/token`)

## Path parameters

- `website_id` integer, required

## Headers

- `X-User-Id` string, nullable
- `X-Organization-Id` string, nullable
- `Authorization` string, nullable

## Request body

- EntitySchemaProfileUpdate
  - `enabled` boolean
  - `schema_type` 'LocalBusiness' | 'Organization'
  - `name` string, nullable
  - `url` string, nullable
  - `same_as` string[], nullable

## Response `200`

Successful Response

- EntitySchemaProfile
  - `site_id` integer, required
  - `enabled` boolean
  - `schema_type` 'LocalBusiness' | 'Organization'
  - `name` string, nullable
  - `url` string, nullable
  - `same_as` string[]
  - `version` integer
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable
  - `published_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/seoproai/apis/seopro-ai.md) · [All operations](https://skmtc.dev/seoproai/apis/seopro-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/seoproai/apis/seopro-ai/revisions/5b4b6391ddc9?raw)
