Amazon Macie Admin API

The Admin API from Amazon Macie — 2 operation(s) for admin.

Operations 5

GET /admin/configuration Describe Organization Configuration #
PATCH /admin/configuration Update Organization Configuration #
DELETE /admin Disable Organization Admin Account #
POST /admin Enable Organization Admin Account #
GET /admin List Organization Admin Accounts #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-macie:amazon-macie-admin-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-macie-admin-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Macie 2 Admin API
  version: '2020-01-01'
  description: Generated from AWS's published Smithy model for Amazon Macie 2. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://macie2.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /admin/configuration:
    get:
      operationId: DescribeOrganizationConfiguration
      summary: Describe Organization Configuration
      description: Retrieves the Amazon Macie configuration settings for an organization in Organizations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeOrganizationConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DescribeOrganizationConfigurationRequest'
      tags:
      - Admin
    patch:
      operationId: UpdateOrganizationConfiguration
      summary: Update Organization Configuration
      description: Updates the Amazon Macie configuration settings for an organization in Organizations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateOrganizationConfigurationResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrganizationConfigurationRequest'
      tags:
      - Admin
  /admin:
    delete:
      operationId: DisableOrganizationAdminAccount
      summary: Disable Organization Admin Account
      description: Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisableOrganizationAdminAccountResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DisableOrganizationAdminAccountRequest'
      tags:
      - Admin
    post:
      operationId: EnableOrganizationAdminAccount
      summary: Enable Organization Admin Account
      description: Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnableOrganizationAdminAccountResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnableOrganizationAdminAccountRequest'
      tags:
      - Admin
    get:
      operationId: ListOrganizationAdminAccounts
      summary: List Organization Admin Accounts
      description: Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListOrganizationAdminAccountsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListOrganizationAdminAccountsRequest'
      tags:
      - Admin
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: macie2
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    AdminAccount:
      type: object
      properties:
        accountId:
          type: string
          description: The Amazon Web Services account ID for the account.
        status:
          type: string
          enum:
          - ENABLED
          - DISABLING_IN_PROGRESS
          description: The current status of the account as the delegated Amazon Macie administrator account for the organization.
    ConflictException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    DescribeOrganizationConfigurationRequest:
      type: object
      properties: {}
    DescribeOrganizationConfigurationResponse:
      type: object
      properties:
        autoEnable:
          type: boolean
          description: Specifies whether Amazon Macie is enabled automatically for accounts that are added to the organization.
        maxAccountLimitReached:
          type: boolean
          description: Specifies whether the maximum number of Amazon Macie member accounts are part of the organization.
    DisableOrganizationAdminAccountRequest:
      type: object
      properties:
        adminAccountId:
          type: string
          description: The Amazon Web Services account ID of the delegated Amazon Macie administrator account.
      required:
      - adminAccountId
    DisableOrganizationAdminAccountResponse:
      type: object
      properties: {}
    EnableOrganizationAdminAccountRequest:
      type: object
      properties:
        adminAccountId:
          type: string
          description: The Amazon Web Services account ID for the account to designate as the delegated Amazon Macie administrator
            account for the organization.
        clientToken:
          type: string
          description: A unique, case-sensitive token that you provide to ensure the idempotency of the request.
      required:
      - adminAccountId
    EnableOrganizationAdminAccountResponse:
      type: object
      properties: {}
    InternalServerException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    ListOrganizationAdminAccountsRequest:
      type: object
      properties:
        maxResults:
          type: integer
          description: The maximum number of items to include in each page of a paginated response.
        nextToken:
          type: string
          description: The nextToken string that specifies which page of results to return in a paginated response.
    ListOrganizationAdminAccountsResponse:
      type: object
      properties:
        adminAccounts:
          type: array
          items:
            $ref: '#/components/schemas/AdminAccount'
          description: An array of objects, one for each delegated Amazon Macie administrator account for the organization.
            Only one of these accounts can have a status of ENABLED.
        nextToken:
          type: string
          description: The string to use in a subsequent request to get the next page of results in a paginated response.
            This value is null if there are no additional pages.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    UpdateOrganizationConfigurationRequest:
      type: object
      properties:
        autoEnable:
          type: boolean
          description: Specifies whether to enable Amazon Macie automatically for accounts that are added to the organization
            in Organizations.
      required:
      - autoEnable
    UpdateOrganizationConfigurationResponse:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/582e55931c45b944739742a2c1620b6026dd2d13/models/macie2/service/2020-01-01/macie2-2020-01-01.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)