invitations.decline
Decline an organization invitation
- Request
- POST
/api/v1/invitations/{invitationId}/decline - Scope required
organizations:write- Effect
- Changes data. Send an Idempotency-Key if you might retry it.
- Acts on
- Acts on the account’s own job search.
- MCP tool
invitations_decline- Environment
- Live and sandbox alike.
- Request body
- JSON.
What it does
Turns down an invitation without joining the organization. Nothing about this account is disclosed to them by declining, and the same organization can invite the account again later. An invitation already answered, revoked or expired is refused, and one addressed to anybody else answers 404. Answers 200 with an empty object. `invitations.accept` is the other answer.
Parameters
| Name | Sent in | Requirement | Accepts |
|---|---|---|---|
| invitationId | path | Required | string |
Response
Answers 200 with no body.
Examples
Turn down an invitation
curl -s -X POST https://www.jobapplicationtracking.com/api/v1/invitations/inv_3f1b0c2e-6d5a-4f7b-9c8d-0a1b2c3d4e5f/decline \
-H "Authorization: Bearer $JAT_KEY"{}