Approvals
Reject an approval item
Rejects the item. A reason is required and preserved on the item.
post/v1/projects/{project_id}/approvals/{approval_id}/reject
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/approvals/{approval_id}/reject
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Path parameters
approval_idstring required
Example:apr_V1StGXR8Z5jdHi6B
Approval item ID
Request body
Example request
{
"reason": "Amount exceeds the approved monthly budget."
}Response
Approval item rejected
Example response
{
"id": "apr_V1StGXR8Z5jdHi6B",
"previous_item_id": "apr_V1StGXR8Z5jdHi6B",
"resolved_by_principal_type": "user",
"resolved_by_principal_id": "user_V1StGXR8Z5jdHi6B"
}Changes
No recorded changes to this operation across all 1 revision of this API.