---
updatedAt: 2026-05-21T18:12:22.000Z
---

# Updates a specified assignment from the specific tenant.

The API is used to update a specific assignment from the specific tenant.<br/>The owners of the application can update a specific assignment of the campaign that is created by them or includes at least one application owned by them.<br/>Entitlements required: manageAccessWorkflow [Manage Access Work Flows].

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0.0",
    "description": "IBM Verify API",
    "title": "IBM Verify API"
  },
  "servers": [
    {
      "url": "https://{tenanturl}",
      "variables": {
        "tenanturl": {
          "default": "{tenant_url}",
          "description": "URL of your IBM Security Verify tenant"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Certification Campaign assignments v2.0"
    }
  ],
  "paths": {
    "/v2.0/assignments/{id}": {
      "put": {
        "tags": [
          "Certification Campaign assignments v2.0"
        ],
        "summary": "Updates a specified assignment from the specific tenant.",
        "description": "The API is used to update a specific assignment from the specific tenant.<br/>The owners of the application can update a specific assignment of the campaign that is created by them or includes at least one application owned by them.<br/>Entitlements required: manageAccessWorkflow [Manage Access Work Flows].",
        "operationId": "replacev2",
        "parameters": [
          {
            "name": "x-admin-invocation",
            "in": "header",
            "description": "If the value is set to true, the API call is treated as an admin API call.",
            "required": true,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "Campaign Assignment ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "asSupervisor",
            "in": "query",
            "description": "Consider the calling user as a supervisor of the campaign when set to true.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "assignmentSource",
            "in": "query",
            "description": "Filter campaign assignments based on the source: 'all', 'assigned', 'delegated'.",
            "schema": {
              "type": "string",
              "default": "assigned"
            }
          }
        ],
        "requestBody": {
          "description": "Campaign assignment payload details:<br><br>- <strong>reviewer</strong>: Details about the campaign reviewer. Required when redirecting an assignment to another user.<br>- <strong>operation</strong>: The operation to be executed.<br><br><br>Allowable values for <strong>operation</strong> are: approved, rejected, redirected, escalated.<br><strong>approved</strong>: Approve an assignment.<br><strong>rejected</strong>: Reject an assignment.<br><strong>redirected</strong>: Redirect an assignment.<br><strong>escalated</strong>: Escalate an assignment.<br><br>- <strong>justification</strong>: A justification for the action taken on the assignment by the reviewer.<br>- <strong>doImmediateFulfillment</strong>: Immediate action on the assignment when signOff is manual and doImmediateFulfillment is set to true.",
          "content": {
            "*/*": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AssignmentActionReplaceInput"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The request was successful.",
            "content": {}
          },
          "400": {
            "description": "Your request can't be processed. The error code and description are available in the response payload.",
            "content": {}
          },
          "401": {
            "description": "Your request can't be processed. The error code and description are available in the response payload.",
            "content": {}
          },
          "409": {
            "description": "A conflict occurred during the replace operation.",
            "content": {}
          },
          "500": {
            "description": "Your request cannot be processed because an internal server error occurred.",
            "content": {}
          }
        },
        "x-category": "IBM Verify API",
        "x-publicAPI": true,
        "x-codegen-request-body-name": "payload"
      }
    }
  },
  "components": {
    "schemas": {
      "UserGroup": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "The name of the group",
            "example": "admin"
          },
          "displayName": {
            "type": "string",
            "description": "The display name of the group",
            "example": "Administrators"
          },
          "sourceId": {
            "type": "string",
            "description": "The source identifier of the group",
            "example": "bd45bba8-a1d4-4de2-bc80-be2855589363"
          }
        }
      },
      "AssignmentActionReplaceInput": {
        "required": [
          "operation"
        ],
        "type": "object",
        "properties": {
          "reviewer": {
            "$ref": "#/components/schemas/UserGroup"
          },
          "operation": {
            "type": "string",
            "description": "The operation executed by the reviewer. Allowed values: 'none', 'approved', 'rejected', 'redirected', 'escalated'."
          },
          "events": {
            "type": "array",
            "description": "Event. Allowed values: 'CHANGE_USER_PROFILE', 'CHANGE_GROUP_MEMBER', 'CHANGE_ACCESS'",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/Event"
            }
          },
          "justification": {
            "type": "string",
            "description": "Justification of the operation in case of rejections and redirections."
          },
          "doImmediateFulfillment": {
            "type": "boolean",
            "description": "If campaign sign-off policy is manual and doImmediateFulfillment is set, then the operation is executed immediately."
          }
        },
        "description": "Object used to create or replace an assignment."
      },
      "AttributeChanges": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Identifier of the attribute"
          },
          "value": {
            "type": "string",
            "description": "value of the attribute"
          },
          "oldValue": {
            "type": "array",
            "description": "old value of the attribute",
            "items": {
              "type": "string"
            }
          },
          "dispalyName": {
            "type": "string",
            "description": "Display name of the attribute",
            "readOnly": true
          }
        },
        "description": "Rest representation for an AttributeChanges."
      },
      "Event": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "changedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttributeChanges"
            }
          }
        }
      }
    }
  },
  "x-original-swagger-version": "2.0",
  "x-explorer-enabled": false
}
```