Update a project
update_projectModify a CMSKite project's name, description, website, or allowed browser origins. Only supplied fields change; allowed origins replace the full list, and project.write is required.
Instructions
Change a project's name, description, website, or allowed origins. Only the fields passed change. allowedOrigins REPLACES the list: pass every origin, like ["https://example.com", "https://www.example.com"] — scheme and host, no path. It decides which websites may use the project key from a browser. Requires the project.write grant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| projectId | Yes | The project id, as `prj_...`. | |
| websiteUrl | No | Display only. Not a CORS allowance. | |
| description | No | ||
| websiteName | No | ||
| allowedOrigins | No | The complete list. [] removes the restriction. |