---
title: "Save a default system action mapping"
method: PUT
path: "/api/v1/workflow/system/actions"
tags: ["Workflow"]
---

# Save a default system action mapping

`PUT /api/v1/workflow/system/actions`

This operation allows you to save a [default system action](https://www.dotcms.com/docs/latest/managing-workflows#DefaultActions) mapping. This requires:

1. Selecting a default system action to be mapped;
2. Specifying a [workflow action](https://www.dotcms.com/docs/latest/managing-workflows#Actions) to be performed when that system action is called;
3. Associating this mapping with either a [workflow scheme](https://www.dotcms.com/docs/latest/managing-workflows#Schemes) or a [content type](https://www.dotcms.com/docs/latest/content-types).

See the request body below for further details.

## Request body

- WorkflowSystemActionForm
  - `actionId` string, required
  - `schemeId` string
  - `contentTypeVariable` string
  - `systemAction` 'NEW' | 'EDIT' | 'PUBLISH' | 'UNPUBLISH' | 'ARCHIVE' | 'UNARCHIVE' | 'DELETE' | 'DESTROY', required

## Response `200`

Success

- ResponseEntityBulkActionsResultView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` BulkActionsResultView
    - `successCount` integer
    - `skippedCount` integer
    - `fails` ActionFail[]
      - `identifier` string
      - `inode` string
      - `errorMessage` string
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `400` — Bad request
- `401` — Invalid User
- `403` — Forbidden
- `406` — Not Acceptable
- `415` — Unsupported Media Type
- `500` — Internal Server Error

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
