---
id: action-item-reject
title: "Reject an action item"
description: "Reject an action item as not applicable. If an approval action gates `action_item:reject` for this item, it moves to `pending_rejection` until the approval request is decided. Otherwise it transitions straight to `rejected`."
sidebar_label: "Reject an action item"
hide_title: true
hide_table_of_contents: true
api: eJzlWv9v2zYW/1cI/rINkB3HSbrOQIHL0g6Xu7UNkrTdLQ4cWnySuFKkRlJOXMP/++GRkizZTu00t/1yw+A6MvW+ft4XPnJBOdjYiMIJreiIXsIfEDvCFGExPiLCQU6YJUo7wopCiphNJfTJeeIXFYXRMybr1SlzYMld+GuC746Mp3hHEm2Iy4T1FCMiHMn1DCxxmtwVoLhQ6SSsFVrdkVI5IYnLYMXDwJ8lWEeEJRxiwYH3yXuXgbkXFpCgM0xZge9bYp1hIs2cpx/oAr/rjxWNqC7AMFx2zumIbgpLI+pYaunohp4Gvc4d5PQ2ohbi0gg3p6ObBZ0CM2BOS5fR0c3t8jaiBTMsBwfG+gUCLVowl9GIKpYDHVHBaURtnEHO6GhB3bzAp9YZoVK6jCjqKAxwOnKmhGjNO9dojpZfzl/3aUThgeWFRDoP//ny48ufTqdn/E1CUaDKZD9rPkd269RjrRwohz9VvkXaB39Y5LbYlFNPK/OsCN1QAwzXo/oGLesE2MCMVXS6Wm5TKqz1GKkwoNI+eSuUyMucDAckzphhMVq2q/E1Iurs4xvCNVQgTRJEsC4NKS1Lgegk4E6KqWFm3ifIcFZKBQahTJJSVSa1RMEMDImZlMD76A8WO2320wFyJmTgBqS0YEgBJtEmFyoNQPZsfOggohHAkf/B8zMkL60jUyCsdJk24gtwBC9DZRSZQsZkEsgz5+l3LfEHU/CP6s9+rHO69P+hr2yhlQ1OGQ4G+M+m9GXBmQPehhfS/2aEdLEg+H42LJX4s3wKxiNqZZnuJn5aOt1LAX2OWn64/LWXGAGKyzlBCl0eZZEaxqE3ZRZ6Imcp9JzuJeKhF8+gNxwMX/QOh0fHyF6ZPSH+7vJdcJ2+VzYgcs3WK/7apEyJL97Wrw5HLI51qdyr4Qizi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ckxxZviauftrR1chuM80R3D4pX6Q6jXbPNBqrd7dfv3z+vqiTh6x5kC+h37aj8jxYIAfh/hxhB/HP3Qgdxzmil0mj2TOtyzOhIIetlD+KCtoiy93YTxlOEHwGMHICZruJH+VaePae6e6MAQ2m8OBnxknlys2tSF3b9NWGbrK6q0M7ZltHhHUh8FhOiir+uS1D7MV3sTUKogwpS6jXeB5LJoehZEnV5nVbuLmscHLSqG1mGt89IwBwFeM38LFzrgNEVudJd6G9HayLb1dgcGj0/X0JhT30YxNFJ6w2hJCnwZhJiICVP8nB9F/ZzQbKAxY3EpWBwS2gBjnfn7MUxti24nBXpF9SvLHYzu0SdV+W3zxu3yo+SZMyPVNpFfLKCYnYdEEOijbe44SkazMmVrJ9ITccF6JQCqgNED/y7LEqSKlgofCD9gquXTsJ/q8xmCwR7/Cd5jqZBpnMYW2Pqjw9saIHrQmCAcLwZcHzU2RQCJc+CiN7Iwbxca40d/KqI91rhDWAY3tuySNIZBQfV3Eh6tfRKPqyy91i/OvT9e+IcFwuVzd+Hiz6kyb3vMvvS/RbDW27geESjTKgtYKHj3sD/oDut5I+cs21k8btXU5U6t55vbrSetIWazSyf/HfaYKLri1OSgkE34077G4qAB8077lRCM6Erw5p8bUmCHaRzd0scCz2w9GLpf4+M8SDN51usWjVCPQUh7nXFj8zukoYdKuX1Nq2//7yypB/0C2X17aKntd8hQWvOoQl9KIfoZ5uEO1vF1GNAPGwXiBwg9ngW3vOtTj+sWNioItQHjjNI6hcF9de9tKChfvr64x/KrrVLnP5dQwPH/HTy+k9mYIV6Dw2YJKptLS5zgaaC6rwVMr1tdiu93jds2wWIQV1/ozqOWysYrDv6mv0f8FBO/DZA==
sidebar_class_name: "post api-method"
info_path: docs/api/action-items
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Reject an action item"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/action_item/{id}/reject"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Reject an action item as not applicable. If an approval action gates `action_item:reject` for this item, it moves to `pending_rejection` until the approval request is decided. Otherwise it transitions straight to `rejected`.


<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"in":"path","name":"id","schema":{"type":"string"},"required":true,"description":"The action item ID.","example":"xYz789AbCdEf"}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["reason"],"properties":{"reason":{"type":"string","description":"The reason for rejecting. Minimum 20 characters.","example":"This CVE does not affect our usage of this library. The vulnerable function is never called."},"actor":{"type":"string","description":"The email of the user performing the action. If provided, the caller must be authorized to act on behalf of that user.","example":"jane@example.com"}}}}}}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"The updated action item.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","description":"The unique action item ID.","example":"xYz789AbCdEf"},"slug":{"type":"string","description":"Auto-generated URL-friendly slug.","example":"upgrade-base-image-to-fix-cve-2026-1234"},"nrn":{"type":"string","description":"The NRN that owns this action item.","example":"organization=1:account=2:namespace=3:application=4"},"title":{"type":"string","description":"The title.","example":"Upgrade base image to fix CVE-2026-1234"},"description":{"type":"string","description":"The description. Supports Markdown.","example":"The current base image has a critical vulnerability."},"status":{"type":"string","enum":["open","in_progress","pending_deferral","deferred","pending_verification","resolved","pending_rejection","rejected","closed"],"description":"The current status.","example":"open"},"priority":{"type":"string","enum":["low","medium","high","critical"],"description":"Priority level.","example":"critical"},"score":{"type":"integer","description":"Calculated score based on value and priority.","example":2000},"category_id":{"type":"string","description":"The category ID.","example":"abc123def456"},"value":{"type":"number","description":"Estimated benefit of resolving the item.","example":500},"created_by":{"type":"string","description":"The creator email or agent identifier.","example":"security-scanner-agent"},"assignee_id":{"type":"integer","description":"The nullplatform user ID of the item's owner, or `null` when nobody owns it.","example":2345},"assigned_at":{"type":"string","format":"date-time","description":"When the current assignment was made. ISO 8601 date-time.","example":"2026-08-20T14:32:00Z"},"assigned_by":{"type":"string","description":"Who made the current assignment: a user email or an agent identifier.","example":"jane@example.com"},"due_date":{"type":"string","format":"date-time","description":"Optional deadline. ISO 8601 date-time.","example":"2026-05-01T00:00:00Z"},"deferred_until":{"type":"string","format":"date","description":"Date until which the item is deferred.","example":null},"resolved_at":{"type":"string","format":"date","description":"Date when the item was resolved.","example":null},"labels":{"type":"object","additionalProperties":{"type":"string"},"description":"Key-value pairs for classification.","example":{"source":"container-scan","cve":"CVE-2026-1234"}},"affected_resources":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"The resource type.","example":"application"},"name":{"type":"string","description":"The resource name.","example":"my-api-service"},"permalink":{"type":"string","description":"A link to the resource.","example":"https://app.nullplatform.com/applications/4"},"description":{"type":"string","description":"A brief description.","example":"Main API service"}},"title":"AffectedResource"}},"references":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The reference name.","example":"CVE-2026-1234"},"permalink":{"type":"string","description":"A link to the reference.","example":"https://nvd.nist.gov/vuln/detail/CVE-2026-1234"},"description":{"type":"string","description":"A brief description.","example":"NVD entry for this vulnerability"}},"title":"Reference"}},"metadata":{"type":"object","description":"Flexible metadata.","example":{"cve_id":"CVE-2026-1234"}},"deferral_count":{"type":"integer","description":"Number of times this item has been deferred.","example":0},"config":{"type":"object","description":"Deferral limits for a category. Approval gating for resolve, defer, and reject\nis no longer configured here. It is driven by approval actions in the approvals\nengine. See the `action_item` entity in the Approval API.\n","properties":{"max_deferral_days":{"type":"integer","description":"Maximum number of days an item can be deferred into the future.","example":90},"max_deferral_count":{"type":"integer","description":"Maximum number of times an item can be deferred.","example":3}},"title":"CategoryConfig"},"comments":{"type":"array","description":"Comments on this item. Populated on read.","items":{"type":"object","properties":{"id":{"type":"string","description":"The comment ID.","example":"cmt123AbCdEf"},"author":{"type":"string","description":"The comment author.","example":"jane@example.com"},"content":{"type":"string","description":"The comment text.","example":"This should be prioritized for the next sprint."},"created_at":{"type":"string","format":"date-time","description":"Creation timestamp.","example":"2026-04-06T14:30:00.000Z"}},"title":"Comment"}},"audit_logs":{"type":"array","description":"Audit trail of all status transitions and field updates on this item.","items":{"type":"object","description":"A single audit log entry recording a status transition or field update on an action item.","properties":{"id":{"type":"string","description":"The unique audit log entry ID.","example":"3c35f973-d53b-4e60-a578-2e8fba1dbbb1"},"actor":{"type":"string","description":"The email of the user who performed the action.","example":"jane@example.com"},"action":{"type":"string","description":"The action that was performed.","example":"deferred"},"details":{"type":"object","description":"Additional context about the action, such as previous and new status or the deferral reason.","example":{"from":"open","to":"deferred","reason":"Waiting for the next maintenance window."}},"timestamp":{"type":"string","format":"date-time","description":"When the action was performed.","example":"2026-04-06T12:00:00.000Z"}},"title":"AuditLog"}},"created_at":{"type":"string","format":"date-time","description":"Creation timestamp.","example":"2026-04-06T12:00:00.000Z"},"updated_at":{"type":"string","format":"date-time","description":"Last update timestamp.","example":"2026-04-06T12:00:00.000Z"}},"title":"ActionItem"}}}},"4XX":{"description":"Client error responses due to invalid input, missing parameters, or unauthorized access.\n\nRequest validation errors use a different shape:\n```json\n{\n  \"type\": \"ValidationError\",\n  \"errors\": [{ \"message\": \"body must have required property 'defer_until'\" }]\n}\n```\n","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Standard error response.","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code (e.g., 400, 401, 403, 404).","example":400},"code":{"type":"string","description":"Machine-readable error code.","example":"bad_request"},"error":{"type":"string","description":"Short description of the error type.","example":"Bad Request"},"message":{"type":"string","description":"Additional details about the error.","example":"The request was malformed or contained invalid parameters."}}},{"type":"object","description":"Request validation error response.","required":["type","errors"],"properties":{"type":{"type":"string","example":"ValidationError"},"errors":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","example":"body must have required property 'until'"}}}}}}]}}}},"5XX":{"description":"Server error responses indicating an issue on the API side.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific server error.","example":500},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"internal_server_error"},"error":{"type":"string","description":"A brief, human-readable description of the error type.","example":"Internal Server Error"},"message":{"type":"string","description":"Additional details about the error.","example":"An unexpected error occurred on the server."}}}}}}}}
>
  
</StatusCodes>


      