Amazon Organizations API

Operations for creating and managing organizations

GitHub OpenAPI

Operations 3

POST /#CreateOrganization Create Organization #
POST /#DeleteOrganization Delete Organization #
POST /#DescribeOrganization Describe Organization #

Documentation

Specifications

Schemas & Data

Other Resources

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-organizations:amazon-organizations-organizations-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-organizations-organizations-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Organizations Organizations API
  version: '2016-11-28'
  description: Generated from AWS's published Smithy model for AWS Organizations. 3 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://organizations.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateOrganization:
    post:
      operationId: CreateOrganization
      summary: Create Organization
      description: Creates an Amazon Web Services organization. The account whose user is calling the CreateOrganization operation
        automatically becomes the management account of the new organization. This operation must be called using credentials
        from the account that is to become the new organization's management account. The principal must also have the relevant
        IAM permissions. By default (or if you set the FeatureSet parameter to ALL), the new organization is created with
        all features enabled and service control policies automatically enabled in the root. If you instead choose to create
        the organization supporting only the consolidated billing features by setting the FeatureSet parameter to CONSOLIDATED_BILLING,
        no policy types are enabled by default and you can't use organization policies. The AccountJoinedOrganization event
        is logged in CloudTrail and is available only in the management account's event history. This event includes joinedMethod:INVITED
        and joinedTime fields to provide context on how and when the account joined the organization.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/CreateOrganizationResponse'
              example:
                Organization:
                  AvailablePolicyTypes:
                  - Status: ENABLED
                    Type: SERVICE_CONTROL_POLICY
                  MasterAccountId: '111111111111'
                  MasterAccountArn: arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111
                  MasterAccountEmail: bill@example.com
                  FeatureSet: ALL
                  Id: o-exampleorgid
                  Arn: arn:aws:organizations::111111111111:organization/o-exampleorgid
        '403':
          description: AccessDeniedException; AccessDeniedForDependencyException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: AlreadyInOrganizationException; ConcurrentModificationException; ConstraintViolationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AlreadyInOrganizationException'
        '400':
          description: InvalidInputException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '500':
          description: ServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSOrganizationsV20161128.CreateOrganization
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              $ref: '#/components/schemas/CreateOrganizationRequest'
      tags:
      - Organizations
  /#DeleteOrganization:
    post:
      operationId: DeleteOrganization
      summary: Delete Organization
      description: Deletes the organization. You can delete an organization only by using credentials from the management
        account. The organization must be empty of member accounts. When an organization is deleted, Organizations logs a
        membership event in CloudTrail. The event is an AccountDepartedOrganization event with departureMethod:LEFT and departureTime.
        This event is available only in the management account's event history.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                type: string
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: AWSOrganizationsNotInUseException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AWSOrganizationsNotInUseException'
        '409':
          description: ConcurrentModificationException; ConstraintViolationException; OrganizationNotEmptyException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConcurrentModificationException'
        '400':
          description: InvalidInputException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/InvalidInputException'
        '500':
          description: ServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSOrganizationsV20161128.DeleteOrganization
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              type: string
      tags:
      - Organizations
  /#DescribeOrganization:
    post:
      operationId: DescribeOrganization
      summary: Describe Organization
      description: Retrieves information about the organization that the user's account belongs to. You can call this operation
        from any account in a organization. Even if a policy type is shown as available in the organization, you can disable
        it separately at the root level with DisablePolicyType. Use ListRoots to see the status of policy types for a specified
        root.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/DescribeOrganizationResponse'
              example:
                Organization:
                  MasterAccountArn: arn:aws:organizations::111111111111:account/o-exampleorgid/111111111111
                  MasterAccountEmail: bill@example.com
                  Id: o-exampleorgid
                  FeatureSet: ALL
                  Arn: arn:aws:organizations::111111111111:organization/o-exampleorgid
                  AvailablePolicyTypes:
                  - Status: ENABLED
                    Type: SERVICE_CONTROL_POLICY
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: AWSOrganizationsNotInUseException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/AWSOrganizationsNotInUseException'
        '409':
          description: ConcurrentModificationException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ConcurrentModificationException'
        '500':
          description: ServiceException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/x-amz-json-1.1:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSOrganizationsV20161128.DescribeOrganization
      requestBody:
        required: true
        content:
          application/x-amz-json-1.1:
            schema:
              type: string
      tags:
      - Organizations
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: organizations
  schemas:
    AWSOrganizationsNotInUseException:
      type: object
      properties:
        Message:
          type: string
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
    AlreadyInOrganizationException:
      type: object
      properties:
        Message:
          type: string
    ConcurrentModificationException:
      type: object
      properties:
        Message:
          type: string
    CreateOrganizationRequest:
      type: object
      properties:
        FeatureSet:
          type: string
          enum:
          - ALL
          - CONSOLIDATED_BILLING
          description: 'Specifies the feature set supported by the new organization. Each feature set supports different levels
            of functionality. CONSOLIDATED_BILLING: All member accounts have their bills consolidated to and paid by the management
            account. For more information, see Consolidated billing in the Organizations User Guide. The consolidated billing
            feature subset isn''t available for organizations in the Amazon Web Services GovCloud (US) Region. ALL: In addition
            to all the features supported by the consolidated billing feature set, the management account can also apply any
            policy type to any member account '
    CreateOrganizationResponse:
      type: object
      properties:
        Organization:
          $ref: '#/components/schemas/Organization'
    DescribeOrganizationResponse:
      type: object
      properties:
        Organization:
          $ref: '#/components/schemas/Organization'
    InvalidInputException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - INVALID_PARTY_TYPE_TARGET
          - INVALID_SYNTAX_ORGANIZATION_ARN
          - INVALID_SYNTAX_POLICY_ID
          - INVALID_ENUM
          - INVALID_ENUM_POLICY_TYPE
          - INVALID_LIST_MEMBER
          - MAX_LENGTH_EXCEEDED
          - MAX_VALUE_EXCEEDED
          - MIN_LENGTH_EXCEEDED
          - MIN_VALUE_EXCEEDED
          - IMMUTABLE_POLICY
          - INVALID_PATTERN
          - INVALID_PATTERN_TARGET_ID
          - INPUT_REQUIRED
          - INVALID_NEXT_TOKEN
          - MAX_LIMIT_EXCEEDED_FILTER
          - MOVING_ACCOUNT_BETWEEN_DIFFERENT_ROOTS
          - INVALID_FULL_NAME_TARGET
          - UNRECOGNIZED_SERVICE_PRINCIPAL
          - INVALID_ROLE_NAME
          - INVALID_SYSTEM_TAGS_PARAMETER
          - DUPLICATE_TAG_KEY
          - TARGET_NOT_SUPPORTED
          - INVALID_EMAIL_ADDRESS_TARGET
          - INVALID_RESOURCE_POLICY_JSON
          - INVALID_PRINCIPAL
          - UNSUPPORTED_ACTION_IN_RESOURCE_POLICY
          - UNSUPPORTED_POLICY_TYPE_IN_RESOURCE_POLICY
          - UNSUPPORTED_RESOURCE_IN_RESOURCE_POLICY
          - NON_DETACHABLE_POLICY
          - CALLER_REQUIRED_FIELD_MISSING
          - UNSUPPORTED_ACTION_IN_RESPONSIBILITY_TRANSFER
          - START_DATE_NOT_BEGINNING_OF_MONTH
          - START_DATE_NOT_BEGINNING_OF_DAY
          - START_DATE_TOO_EARLY
          - START_DATE_TOO_LATE
          - INVALID_START_DATE
          - END_DATE_NOT_END_OF_MONTH
          - END_DATE_TOO_EARLY
          - END_DATE_TOO_LATE
          - INVALID_END_DATE
    Organization:
      type: object
      properties:
        Id:
          type: string
          description: The unique identifier (ID) of an organization. The regex pattern for an organization ID string requires
            "o-" followed by from 10 to 32 lowercase letters or digits.
        Arn:
          type: string
          description: The Amazon Resource Name (ARN) of an organization. For more information about ARNs in Organizations,
            see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
        FeatureSet:
          type: string
          enum:
          - ALL
          - CONSOLIDATED_BILLING
          description: Specifies the functionality that currently is available to the organization. If set to "ALL", then
            all features are enabled and policies can be applied to accounts in the organization. If set to "CONSOLIDATED_BILLING",
            then only consolidated billing functionality is available. For more information, see Enabling all features in
            your organization in the Organizations User Guide.
        MasterAccountArn:
          type: string
          description: The Amazon Resource Name (ARN) of the account that is designated as the management account for the
            organization. For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in
            the Amazon Web Services Service Authorization Reference.
        MasterAccountId:
          type: string
          description: The unique identifier (ID) of the management account of an organization. The regex pattern for an account
            ID string requires exactly 12 digits.
        MasterAccountEmail:
          type: string
          description: The email address that is associated with the Amazon Web Services account that is designated as the
            management account for the organization.
        AvailablePolicyTypes:
          type: array
          items:
            $ref: '#/components/schemas/PolicyTypeSummary'
          description: Do not use. This field is deprecated and doesn't provide complete information about the policies in
            your organization. To determine the policies that are enabled and available for use in your organization, use
            the ListRoots operation instead.
    PolicyTypeSummary:
      type: object
      properties:
        Type:
          type: string
          enum:
          - SERVICE_CONTROL_POLICY
          - RESOURCE_CONTROL_POLICY
          - TAG_POLICY
          - BACKUP_POLICY
          - AISERVICES_OPT_OUT_POLICY
          - CHATBOT_POLICY
          - DECLARATIVE_POLICY_EC2
          - SECURITYHUB_POLICY
          - INSPECTOR_POLICY
          - UPGRADE_ROLLOUT_POLICY
          - BEDROCK_POLICY
          - S3_POLICY
          - NETWORK_SECURITY_DIRECTOR_POLICY
          - GUARDDUTY_POLICY
          description: The name of the policy type.
        Status:
          type: string
          enum:
          - ENABLED
          - PENDING_ENABLE
          - PENDING_DISABLE
          description: The status of the policy type as it relates to the associated root. To attach a policy of the specified
            type to a root or to an OU or account in that root, it must be available in the organization and enabled for that
            root.
    ServiceException:
      type: object
      properties:
        Message:
          type: string
    TooManyRequestsException:
      type: object
      properties:
        Type:
          type: string
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/organizations/service/2016-11-28/organizations-2016-11-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)