---
title: "POST /detector/{detectorId}/master"
method: POST
path: "/detector/{detectorId}/master"
deprecated: true
---

# POST /detector/{detectorId}/master

`POST /detector/{detectorId}/master`

> **Deprecated.**

Accepts the invitation to be monitored by a GuardDuty administrator account.

## Path parameters

- `detectorId` string, required

## Request body

- object
  - `masterId` string, required — The account ID of the GuardDuty administrator account whose invitation you're accepting.
  - `invitationId` string, required — The value that is used to validate the administrator account to the member account.

## Response `200`

Success

- AcceptInvitationResponse — This output is deprecated, use AcceptAdministratorInvitationResponse instead

## Other responses

- `480` — BadRequestException
- `481` — InternalServerErrorException

---

[API](https://skmtc.net/aws/apis/guardduty.md) · [All operations](https://skmtc.net/aws/apis/guardduty/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/guardduty/versions/d35ef49b25a3/schema)
