Amazon IAM Iam Disable API

The Iam Disable API from Amazon IAM — 3 operation(s) for iam disable.

GitHub OpenAPI

Operations 3

POST /crl/{crlId}/disable Disable Crl #
POST /profile/{profileId}/disable Disable Profile #
POST /trustanchor/{trustAnchorId}/disable Disable Trust Anchor #

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-iam:amazon-iam-disable-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-iam-disable-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Identity and Access Management Disable API
  version: '2010-05-08'
  description: Generated from AWS's published Smithy model for AWS Identity and Access Management. 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://rolesanywhere.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /crl/{crlId}/disable:
    post:
      operationId: DisableCrl
      summary: Disable Crl
      description: 'Disables a certificate revocation list (CRL). Required permissions: rolesanywhere:DisableCrl.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CrlDetailResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: crlId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the certificate revocation list (CRL).
      tags:
      - Disable
  /profile/{profileId}/disable:
    post:
      operationId: DisableProfile
      summary: Disable Profile
      description: 'Disables a profile. When disabled, temporary credential requests with this profile fail. Required permissions:
        rolesanywhere:DisableProfile.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileDetailResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: profileId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the profile.
      tags:
      - Disable
  /trustanchor/{trustAnchorId}/disable:
    post:
      operationId: DisableTrustAnchor
      summary: Disable Trust Anchor
      description: 'Disables a trust anchor. When disabled, temporary credential requests specifying this trust anchor are
        unauthorized. Required permissions: rolesanywhere:DisableTrustAnchor.'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustAnchorDetailResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: trustAnchorId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier of the trust anchor.
      tags:
      - Disable
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: rolesanywhere
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    AttributeMapping:
      type: object
      properties:
        certificateField:
          type: string
          description: Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
        mappingRules:
          type: array
          items:
            $ref: '#/components/schemas/MappingRule'
          description: A list of mapping entries for every supported specifier or sub-field.
    CrlDetail:
      type: object
      properties:
        crlId:
          type: string
          description: The unique identifier of the certificate revocation list (CRL).
        crlArn:
          type: string
          description: The ARN of the certificate revocation list (CRL).
        name:
          type: string
          description: The name of the certificate revocation list (CRL).
        enabled:
          type: boolean
          description: Indicates whether the certificate revocation list (CRL) is enabled.
        crlData:
          type: string
          description: The state of the certificate revocation list (CRL) after a read or write operation.
        trustAnchorArn:
          type: string
          description: The ARN of the TrustAnchor the certificate revocation list (CRL) will provide revocation for.
        createdAt:
          type: string
          description: The ISO-8601 timestamp when the certificate revocation list (CRL) was created.
        updatedAt:
          type: string
          description: The ISO-8601 timestamp when the certificate revocation list (CRL) was last updated.
    CrlDetailResponse:
      type: object
      properties:
        crl:
          $ref: '#/components/schemas/CrlDetail'
      required:
      - crl
    MappingRule:
      type: object
      properties:
        specifier:
          type: string
          description: Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
      required:
      - specifier
    NotificationSettingDetail:
      type: object
      properties:
        enabled:
          type: boolean
          description: Indicates whether the notification setting is enabled.
        event:
          type: string
          description: The event to which this notification setting is applied.
        threshold:
          type: integer
          description: The number of days before a notification event.
        channel:
          type: string
          description: The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and
            Health Dashboard to notify for an event. In the absence of a specific channel, IAM Roles Anywhere applies this
            setting to 'ALL' channels.
        configuredBy:
          type: string
          description: The principal that configured the notification setting. For default settings configured by IAM Roles
            Anywhere, the value is rolesanywhere.amazonaws.com, and for customized notifications settings, it is the respective
            account ID.
      required:
      - enabled
      - event
    ProfileDetail:
      type: object
      properties:
        profileId:
          type: string
          description: The unique identifier of the profile.
        profileArn:
          type: string
          description: The ARN of the profile.
        name:
          type: string
          description: The name of the profile.
        requireInstanceProperties:
          type: boolean
          description: Unused, saved for future use. Will likely specify whether instance properties are required in temporary
            credential requests with this profile.
        enabled:
          type: boolean
          description: Indicates whether the profile is enabled.
        createdBy:
          type: string
          description: The Amazon Web Services account that created the profile.
        sessionPolicy:
          type: string
          description: A session policy that applies to the trust boundary of the vended session credentials.
        roleArns:
          type: array
          items:
            type: string
          description: A list of IAM roles that this profile can assume in a temporary credential request.
        managedPolicyArns:
          type: array
          items:
            type: string
          description: A list of managed policy ARNs that apply to the vended session credentials.
        createdAt:
          type: string
          description: The ISO-8601 timestamp when the profile was created.
        updatedAt:
          type: string
          description: The ISO-8601 timestamp when the profile was last updated.
        durationSeconds:
          type: integer
          description: Used to determine how long sessions vended using this profile are valid for. See the Expiration section
            of the CreateSession API documentation page for more details. In requests, if this value is not provided, the
            default value will be 3600.
        acceptRoleSessionName:
          type: boolean
          description: Used to determine if a custom role session name will be accepted in a temporary credential request.
        attributeMappings:
          type: array
          items:
            $ref: '#/components/schemas/AttributeMapping'
          description: A mapping applied to the authenticating end-entity certificate.
    ProfileDetailResponse:
      type: object
      properties:
        profile:
          $ref: '#/components/schemas/ProfileDetail'
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    ServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
          description: The exception message.
        retryAfterSeconds:
          type: integer
          description: The recommended number of seconds after which the client should retry the request.
      required:
      - message
    Source:
      type: object
      properties:
        sourceType:
          type: string
          description: The type of the trust anchor.
        sourceData:
          $ref: '#/components/schemas/SourceData'
    SourceData:
      type: object
      properties:
        x509CertificateData:
          type: string
          description: The PEM-encoded data for the certificate anchor. Included for trust anchors of type CERTIFICATE_BUNDLE.
        acmPcaArn:
          type: string
          description: The root certificate of the Private Certificate Authority specified by this ARN is used in trust validation
            for temporary credential requests. Included for trust anchors of type AWS_ACM_PCA.
      description: Exactly one member is set.
    TrustAnchorDetail:
      type: object
      properties:
        trustAnchorId:
          type: string
          description: The unique identifier of the trust anchor.
        trustAnchorArn:
          type: string
          description: The ARN of the trust anchor.
        name:
          type: string
          description: The name of the trust anchor.
        source:
          $ref: '#/components/schemas/Source'
        enabled:
          type: boolean
          description: Indicates whether the trust anchor is enabled.
        crlDpRevocationEnabled:
          type: boolean
          description: Specifies whether the trust anchor checks certificate revocation status against CRL distribution points.
        createdAt:
          type: string
          description: The ISO-8601 timestamp when the trust anchor was created.
        updatedAt:
          type: string
          description: The ISO-8601 timestamp when the trust anchor was last updated.
        notificationSettings:
          type: array
          items:
            $ref: '#/components/schemas/NotificationSettingDetail'
          description: A list of notification settings to be associated to the trust anchor.
    TrustAnchorDetailResponse:
      type: object
      properties:
        trustAnchor:
          $ref: '#/components/schemas/TrustAnchorDetail'
      required:
      - trustAnchor
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/rolesanywhere/service/2018-05-10/rolesanywhere-2018-05-10.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)