---
title: "Accept an invitation created with POST /agents/{arn}/invitations."
method: PUT
path: "/agent-authorisation-test-support/invitations/{id}"
tags: ["agent-authorisation-test-support"]
---

# Accept an invitation created with POST /agents/{arn}/invitations.

`PUT /agent-authorisation-test-support/invitations/{id}`

## Path parameters

- `invitationId` string, required

## Headers

- `Content-Length` integer, required
- `Accept` 'application/vnd.hmrc.1.0+json', required

## Response `204`

Success - invitation has been accepted

## Other responses

- `400`
- `404` — Invitation not found for the given id
- `406`
- `409` — Invitation has already been rejected or it has expired

---

[API](https://skmtc.dev/hmrc/apis/agent-authorisation-test-support-api.md) · [All operations](https://skmtc.dev/hmrc/apis/agent-authorisation-test-support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hmrc/agent-authorisation-test-support-api/revisions/fd34533aab79/schema)
