---
title: "GET /master"
method: GET
path: "/master"
deprecated: true
---

# GET /master

`GET /master`

> **Deprecated.**

This method is deprecated. Instead, use `GetAdministratorAccount`.

The Security Hub console continues to use `GetMasterAccount`. It will eventually change to use `GetAdministratorAccount`. Any IAM policies that specifically control access to this function must continue to use `GetMasterAccount`. You should also add `GetAdministratorAccount` to your policies to ensure that the correct permissions are in place after the console begins to use `GetAdministratorAccount`.

Provides the details for the Security Hub administrator account for the current member account.

Can be used by both member accounts that are managed using Organizations and accounts that were invited manually.

## Response `200`

Success

- GetMasterAccountResponse
  - `Master` object — A list of details about the Security Hub administrator account for the current member account.
    - `AccountId` string — The account ID of the Security Hub administrator account that the invitation was sent from.
    - `InvitationId` string — The ID of the invitation sent to the member account.
    - `InvitedAt` string, date-time — The timestamp of when the invitation was sent.
    - `MemberStatus` string — The current status of the association between the member and administrator accounts.

## Other responses

- `480` — InternalException
- `481` — InvalidInputException
- `482` — InvalidAccessException
- `483` — LimitExceededException
- `484` — ResourceNotFoundException

---

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