post:
  tags:
    - Managed Clients
  summary: Request new AWS credentials
  description: >-
    This API is used by client instances to request new AWS credentials.
  operationId: requestCredentials
  parameters:
    - name: id
      in: path
      description: The Managed Client ID
      required: true
      schema:
        type: string
      example: aClientId
  responses:
    "200":
      description: Responds with a AWSCredentialsResponse
      content:
        application/json:
          schema:
            $ref: '../schemas/AWSCredentialsResponse.yaml'
    '400':
      $ref: '../../v3/responses/400.yaml'
    '401':
      $ref: '../../v3/responses/401.yaml'
    '403':
      $ref: '../../v3/responses/403.yaml'
    '404':
      $ref: '../../v3/responses/404.yaml'
    '429':
      $ref: '../../v3/responses/429.yaml'
    '500':
      $ref: '../../v3/responses/500.yaml'
  security:
    - oauth2: [idn:managed-client:read]