Amazon Macie Members API

The Members API from Amazon Macie — 3 operation(s) for members.

GitHub OpenAPI

Operations 5

POST /members Create Member #
GET /members List Members #
DELETE /members/{id} Delete Member #
GET /members/{id} Get Member #
POST /members/disassociate/{id} Disassociate Member #

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-members-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-macie-members-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Macie 2 Members 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:
  /members:
    post:
      operationId: CreateMember
      summary: Create Member
      description: Associates an account with an Amazon Macie administrator account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateMemberResponse'
        '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:
              type: object
              properties:
                account:
                  $ref: '#/components/schemas/AccountDetail'
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A map of key-value pairs that specifies the tags to associate with the account in Amazon Macie.
                    An account can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value.
                    The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
              required:
              - account
      tags:
      - Members
    get:
      operationId: ListMembers
      summary: List Members
      description: Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListMembersResponse'
        '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'
      parameters:
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of items to include in each page of a paginated response.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The nextToken string that specifies which page of results to return in a paginated response.
      - name: onlyAssociated
        in: query
        schema:
          type: string
        description: Specifies which accounts to include in the response, based on the status of an account's relationship
          with the administrator account. By default, the response includes only current member accounts. To include all accounts,
          set this value to false.
      tags:
      - Members
  /members/{id}:
    delete:
      operationId: DeleteMember
      summary: Delete Member
      description: Deletes the association between an Amazon Macie administrator account and an account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteMemberResponse'
        '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'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the Amazon Macie resource that the request applies to.
      tags:
      - Members
    get:
      operationId: GetMember
      summary: Get Member
      description: Retrieves information about an account that's associated with an Amazon Macie administrator account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetMemberResponse'
        '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'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the Amazon Macie resource that the request applies to.
      tags:
      - Members
  /members/disassociate/{id}:
    post:
      operationId: DisassociateMember
      summary: Disassociate Member
      description: Disassociates an Amazon Macie administrator account from a member account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisassociateMemberResponse'
        '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'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for the Amazon Macie resource that the request applies to.
      tags:
      - Members
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.
    AccountDetail:
      type: object
      properties:
        accountId:
          type: string
          description: The Amazon Web Services account ID for the account.
        email:
          type: string
          description: The email address for the account.
      required:
      - accountId
      - email
    ConflictException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    CreateMemberResponse:
      type: object
      properties:
        arn:
          type: string
          description: The Amazon Resource Name (ARN) of the account that was associated with the administrator account.
    DeleteMemberResponse:
      type: object
      properties: {}
    DisassociateMemberResponse:
      type: object
      properties: {}
    GetMemberResponse:
      type: object
      properties:
        accountId:
          type: string
          description: The Amazon Web Services account ID for the account.
        administratorAccountId:
          type: string
          description: The Amazon Web Services account ID for the administrator account.
        arn:
          type: string
          description: The Amazon Resource Name (ARN) of the account.
        email:
          type: string
          description: The email address for the account. This value is null if the account is associated with the administrator
            account through Organizations.
        invitedAt:
          type: string
          format: date-time
          description: The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation
            was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
        masterAccountId:
          type: string
          description: (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been
            replaced by the administratorAccountId property and is retained only for backward compatibility.
        relationshipStatus:
          type: string
          enum:
          - Enabled
          - Paused
          - Invited
          - Created
          - Removed
          - Resigned
          - EmailVerificationInProgress
          - EmailVerificationFailed
          - RegionDisabled
          - AccountSuspended
          description: The current status of the relationship between the account and the administrator account.
        tags:
          type: object
          additionalProperties:
            type: string
          description: A map of key-value pairs that specifies which tags (keys and values) are associated with the account
            in Amazon Macie.
        updatedAt:
          type: string
          format: date-time
          description: The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of
            the relationship between the account and the administrator account.
    InternalServerException:
      type: object
      properties:
        message:
          type: string
          description: The explanation of the error that occurred.
    ListMembersResponse:
      type: object
      properties:
        members:
          type: array
          items:
            $ref: '#/components/schemas/Member'
          description: An array of objects, one for each account that's associated with the administrator account and matches
            the criteria specified in the request.
        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.
    Member:
      type: object
      properties:
        accountId:
          type: string
          description: The Amazon Web Services account ID for the account.
        administratorAccountId:
          type: string
          description: The Amazon Web Services account ID for the administrator account.
        arn:
          type: string
          description: The Amazon Resource Name (ARN) of the account.
        email:
          type: string
          description: The email address for the account. This value is null if the account is associated with the administrator
            account through Organizations.
        invitedAt:
          type: string
          format: date-time
          description: The date and time, in UTC and extended ISO 8601 format, when an Amazon Macie membership invitation
            was last sent to the account. This value is null if a Macie membership invitation hasn't been sent to the account.
        masterAccountId:
          type: string
          description: (Deprecated) The Amazon Web Services account ID for the administrator account. This property has been
            replaced by the administratorAccountId property and is retained only for backward compatibility.
        relationshipStatus:
          type: string
          enum:
          - Enabled
          - Paused
          - Invited
          - Created
          - Removed
          - Resigned
          - EmailVerificationInProgress
          - EmailVerificationFailed
          - RegionDisabled
          - AccountSuspended
          description: The current status of the relationship between the account and the administrator account.
        tags:
          type: object
          additionalProperties:
            type: string
          description: A map of key-value pairs that specifies which tags (keys and values) are associated with the account
            in Amazon Macie.
        updatedAt:
          type: string
          format: date-time
          description: The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of
            the relationship between the account and the administrator account.
    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.
    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/3cd98287b471c106254abd89279cc87308d38bfd/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)