content-assignments-v3

Remove string assignments

Changed on

Removes the assignment of up to 500 strings, identified by hashCodes, for a workflow step and locale.

The operation runs asynchronously. Poll the process status endpoint with the returned processUid for progress and outcome.

Returns 400 when hashCodes is empty or exceeds 500 entries, or localeId/workflowStepUid is missing or not accessible to the caller.

post/content-assignments-api/v3/projects/{projectId}/strings/remove

Request

  • Base URL
    https://api.smartling.com
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Unique identifier of a Smartling project — 9 lowercase alphanumeric characters.

Example:84c012a33

A unique project identifier. This can be found in the Smartling Dashboard under Account Settings > API.

Request body

localeIdstring required

Locale identifier. Either a 2-letter language code (en) or a language-region pair (en-US). The language part is always lowercase; the region part is always uppercase.

workflowStepUidstring required

Workflow step unique identifier — 12 lowercase alphanumeric characters.

hashCodesHashcode[] required

Hashcodes of the strings to assign or remove. Capped at 500 entries per request.

Example request

{
  "localeId": "fr-FR",
  "workflowStepUid": "7564fc097a85",
  "hashCodes": [
    "d41d8cd98f00b204e9800998ecf8427e"
  ]
}

Response

Removal queued for async processing.

Example response

{
  "response": {
    "data": {
      "processUid": "097ecbc2-8f1b-4ce5-b5c4-d48c3f0e5d9e"
    }
  }
}

Changes