# Transition locale lifecycle Transitions a locale to a different lifecycle state. Valid transitions depend on current status. Endpoint: PATCH /v1/locales/{localeUuid}/actions/lifecycle Version: 1.0.0 Security: Bearer ## Path parameters: - `localeUuid` (string, required) Unique identifier of the locale. ## Request fields (application/json): - `transition` (string, required) Lifecycle transition to apply. Valid transitions depend on current status. Enum: "draft", "activate", "deactivate", "remove", "restore" ## Response 200 fields (application/json): - `uuid` (string, required) Unique identifier for this locale. - `createdAt` (string, required) Timestamp when this locale was created. Example: "2025-11-23T14:15:22.123456Z" - `updatedAt` (string, required) Timestamp when this locale was last modified. Example: "2025-11-23T14:15:22.123456Z" - `removedAt` (string,null) Timestamp when this locale was removed. Null if not removed. Example: "2025-11-23T14:15:22.123456Z" - `status` (string, required) Current lifecycle status of this locale. Enum: "draft", "active", "inactive", "removed" - `name` (string, required) Display name for this locale. - `code` (string, required) ISO language or locale code. - `isDefault` (boolean, required) Whether this is the default locale for the tenant. ## Response 401 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 403 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `correlationId` (string,null) ## Response 404 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `correlationId` (string,null) ## Response 422 fields (application/problem+json): - `errors` (array) - `errors.code` (string, required) - `errors.message` (string, required) - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `correlationId` (string,null) ## Response 500 fields (application/problem+json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) - `correlationId` (string,null)