Replace a segmentation profile

PUT /api/v1/segmentation-profiles/{profileID}

A full replace of the name, language and definition. Send the updated_at you read: if the profile changed since, the answer is 409. A new language that a template using the profile does not suit is 409 too: move the template to another profile first. Files already uploaded keep their segments; projects and templates that use the profile keep it. A built-in is 409.

Who may call it

owner, admin, project_manager

Parameters

NameInRequiredDescription
profileIDpathyes

Responses

200

The profile as saved.

400

The request is wrong; message says what to fix.

401

The access key is missing, expired or revoked.

403

Your role may not call this endpoint, or the key is read only (read_only_key).

404

The item does not exist in your organization.

409

The item changed since you read it, or its state does not allow the action.

429

Too many requests for this key (rate_limited). Wait for the seconds in Retry-After.