Skip to content

Archive Deal Close Reason

DELETE
/deals/close-reasons/{reason_id}

Archive a close reason.

ENTRY GATE: _REASON_MUTATE_PERMISSIONS, the SAME route dependency the app declares. Beyond the gate the decision is CREATOR OR MANAGER, not manager-only - the app’s own note: manager-only removal “would make every rep’s typo permanent and org-wide, in a list” a rep is expected to extend inline. can_manage (forwarded to the app handler) enforces that in-body creator-or-manager check, and tells a caller in advance which rows they may remove.

Authorizations

Parameters

Path Parameters

reason_id
required

Close reason id.

string

Close reason id.

Header Parameters

X-Target-Org-Id
Any of:
string

Responses

200

Successful Response

object
data
required
object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string