Context

Initiates an asynchronous process to delete the contexts. All linked context resources (e.g. CSS, images, and fonts) will also eventually be cleaned up if no other context has them linked. As well, bindings of these contexts to strings are removed, and strings are marked as having no context.

post/context-api/v2/projects/{projectId}/contexts/remove/async

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

contextUidsstring[]

List of contexts UIDs to delete. List size is limited to 100 items.

Response

OK

Example response

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

Changes

    • breaking

      added the pattern ^[a-z0-9]{9}$ to the path request parameter projectId

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the response property /// became nullable for the status

    • breaking

      the // response's property format changed from uuid to no format for status

    • info

      for the path request parameter projectId, the format was generalized from uuid to no format

    • info

      the // response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status

    • info

      endpoint added