Update Brand
Partially update a brand. Only fields included in the request body are modified. For competitors and personas, the provided list represents the full desired state: include an id to update an existing record, omit id to create a new one, and any existing records not in the list are archived. When a persona is archived this way, its active prompts are paused: collection stops but their collected history stays available on the API.
If you submit a persona without an id and its name matches a previously archived persona on the same brand, the archived persona is reactivated (its status returns to active and its description is updated) instead of creating a duplicate. This avoids unique-name conflicts when reusing a name that was previously archived.
Request
- Base URLhttps://api.scrunchai.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 3 revisions of this API.