---
updatedAt: 2026-03-30T13:36:55.000Z
agentTools:
  siteIndex: https://developer.bitmovin.com/llms.txt
  projectIndex: https://developer.bitmovin.com/playback/llms.txt
---

# Delete S3 Role-based Output

# OpenAPI definition

````json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Bitmovin API Reference",
    "description": "Bitmovins API Reference Description",
    "version": "3.1.1",
    "termsOfService": "https://bitmovin.com",
    "contact": {
      "name": "Bitmovin Inc",
      "url": "https://bitmovin.com",
      "email": "support@bitmovin.com"
    }
  },
  "servers": [
    {
      "url": "https://api.bitmovin.com/v1",
      "description": "Bitmovin Server",
      "variables": {}
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    },
    {
      "ApiKeyAuth": [],
      "TenantOrgId": []
    }
  ],
  "paths": {
    "/analytics/outputs/s3-role-based/{output_id}": {
      "delete": {
        "tags": [
          "Outputs"
        ],
        "summary": "Delete S3 Role-based Output",
        "operationId": "DeleteAnalyticsOutputsS3RoleBasedByOutputId",
        "parameters": [
          {
            "name": "output_id",
            "in": "path",
            "description": "Id of the output",
            "style": "simple",
            "required": true,
            "schema": {
              "type": "string",
              "example": "cb90b80c-8867-4e3b-8479-174aa2843f62"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ResponseEnvelope"
                    },
                    {
                      "properties": {
                        "data": {
                          "properties": {
                            "result": {
                              "allOf": [
                                {
                                  "$ref": "#/components/schemas/S3RoleBasedOutput"
                                },
                                {
                                  "description": "Id of the input"
                                }
                              ]
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "default": {
            "description": "Error response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResponseError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "Your Bitmovin API key",
        "name": "X-Api-Key",
        "in": "header"
      },
      "TenantOrgId": {
        "type": "apiKey",
        "description": "Your Bitmovin account organization",
        "name": "X-Tenant-Org-Id",
        "in": "header"
      }
    },
    "schemas": {
      "BitmovinResource": {
        "title": "BitmovinResource",
        "allOf": [
          {
            "$ref": "#/components/schemas/BitmovinResponse"
          },
          {
            "properties": {
              "name": {
                "type": "string",
                "description": "Name of the resource. Can be freely chosen by the user.",
                "example": "Name of the resource"
              },
              "description": {
                "type": "string",
                "description": "Description of the resource. Can be freely chosen by the user.",
                "example": "Description of the resource"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "readOnly": true,
                "description": "Creation timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ",
                "example": "2016-06-25T20:09:23.69Z"
              },
              "modifiedAt": {
                "type": "string",
                "format": "date-time",
                "readOnly": true,
                "description": "Modified timestamp, returned as UTC expressed in ISO 8601 format: YYYY-MM-DDThh:mm:ssZ",
                "example": "2016-06-25T20:09:23.69Z"
              },
              "customData": {
                "type": "string",
                "writeOnly": true,
                "description": "User-specific meta data. This can hold anything.",
                "additionalProperties": {
                  "type": "object"
                }
              }
            }
          }
        ]
      },
      "BitmovinResponse": {
        "title": "BitmovinResponse",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "readOnly": true,
            "description": "Id of the resource",
            "example": "cb90b80c-8867-4e3b-8479-174aa2843f62"
          }
        }
      },
      "AclEntry": {
        "title": "AclEntry",
        "required": [
          "permission"
        ],
        "properties": {
          "scope": {
            "description": "Deprecation notice: The value of this property is not being used. It can be chosen arbitrarily or not set at all",
            "deprecated": true,
            "type": "string",
            "example": "public"
          },
          "permission": {
            "description": "",
            "allOf": [
              {
                "$ref": "#/components/schemas/AclPermission"
              }
            ]
          }
        }
      },
      "AclPermission": {
        "title": "AclPermission",
        "type": "string",
        "enum": [
          "PUBLIC_READ",
          "PRIVATE"
        ]
      },
      "AkamaiMslStreamFormat": {
        "title": "AkamaiMslStreamFormat",
        "type": "string",
        "enum": [
          "DASH",
          "HLS",
          "CMAF"
        ],
        "default": "DASH"
      },
      "AkamaiMslVersion": {
        "title": "AkamaiMslVersion",
        "type": "string",
        "enum": [
          "MSL4"
        ],
        "default": "MSL4"
      },
      "AkamaiMslOutput": {
        "title": "AkamaiMslOutput",
        "required": [
          "streamId",
          "eventName",
          "streamFormat",
          "mslVersion"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "streamId": {
                "type": "integer",
                "description": "The Akamai stream ID",
                "example": 3124
              },
              "eventName": {
                "type": "string",
                "description": "The Akamai event name",
                "example": "myEvent"
              },
              "streamFormat": {
                "description": "The stream format. Only DASH is supported at the moment.",
                "example": "DASH",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AkamaiMslStreamFormat"
                  }
                ]
              },
              "mslVersion": {
                "description": "The Akamai MSL Version. Only MSL4 is supported at the moment.",
                "example": "MSL4",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AkamaiMslVersion"
                  }
                ]
              }
            }
          }
        ]
      },
      "AkamaiNetStorageOutput": {
        "title": "AkamaiNetStorageOutput",
        "required": [
          "host",
          "username",
          "password"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "host": {
                "type": "string",
                "description": "Host to use for Akamai NetStorage transfers",
                "example": "youraccount.akamaihd.net"
              },
              "username": {
                "type": "string",
                "description": "Your Akamai NetStorage Username",
                "example": "encodingInputUser",
                "writeOnly": true
              },
              "password": {
                "type": "string",
                "description": "Your Akamai NetStorage password",
                "example": "myUncrackablePassword",
                "writeOnly": true
              }
            }
          }
        ]
      },
      "AwsCloudRegion": {
        "title": "AwsCloudRegion",
        "type": "string",
        "enum": [
          "US_EAST_1",
          "US_EAST_2",
          "US_WEST_1",
          "US_WEST_2",
          "EU_WEST_1",
          "EU_CENTRAL_1",
          "AP_SOUTHEAST_1",
          "AP_SOUTHEAST_2",
          "AP_NORTHEAST_1",
          "AP_NORTHEAST_2",
          "AP_SOUTH_1",
          "SA_EAST_1",
          "EU_WEST_2",
          "EU_WEST_3",
          "CA_CENTRAL_1",
          "EU_NORTH_1"
        ],
        "x-enum-elements": [
          {
            "name": "US_EAST_1",
            "description": "US East (N. Virginia)"
          },
          {
            "name": "US_EAST_2",
            "description": "US East (Ohio)"
          },
          {
            "name": "US_WEST_1",
            "description": "US West (N. California)"
          },
          {
            "name": "US_WEST_2",
            "description": "US West (Oregon)"
          },
          {
            "name": "EU_WEST_1",
            "description": "Europe (Ireland)"
          },
          {
            "name": "EU_CENTRAL_1",
            "description": "Europe (Frankfurt)"
          },
          {
            "name": "AP_SOUTHEAST_1",
            "description": "Asia Pacific (Singapore)"
          },
          {
            "name": "AP_SOUTHEAST_2",
            "description": "Asia Pacific (Sydney)"
          },
          {
            "name": "AP_NORTHEAST_1",
            "description": "Asia Pacific (Tokyo)"
          },
          {
            "name": "AP_NORTHEAST_2",
            "description": "Asia Pacific (Seoul)"
          },
          {
            "name": "AP_SOUTH_1",
            "description": "Asia Pacific (Mumbai)"
          },
          {
            "name": "SA_EAST_1",
            "description": "South America (São Paulo)"
          },
          {
            "name": "EU_WEST_2",
            "description": "Europe (London)"
          },
          {
            "name": "EU_WEST_3",
            "description": "Europe (Paris)"
          },
          {
            "name": "CA_CENTRAL_1",
            "description": "Canada (Central)"
          },
          {
            "name": "EU_NORTH_1",
            "description": "Europe (Stockholm)"
          }
        ]
      },
      "AzureOutput": {
        "title": "AzureOutput",
        "required": [
          "container",
          "accountName",
          "accountKey"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "accountName": {
                "type": "string",
                "description": "Azure Account Name",
                "example": "devstoreaccount1",
                "writeOnly": true
              },
              "accountKey": {
                "type": "string",
                "description": "Azure Account Key",
                "example": "Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==",
                "writeOnly": true
              },
              "container": {
                "type": "string",
                "description": "Name of the bucket",
                "example": "video-container"
              }
            }
          }
        ]
      },
      "CdnOutput": {
        "title": "CdnOutput",
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "name": {
                "type": "string",
                "description": "Name of the resource",
                "example": "CDN Output",
                "readOnly": true
              },
              "description": {
                "type": "string",
                "description": "Description for the resource",
                "example": "Bucket location: AWS EU-WEST-1",
                "readOnly": true
              },
              "domainName": {
                "type": "string",
                "description": "Domain name for public access to CDN content",
                "example": "wf6hs25la2ilp.cloudfront.net",
                "readOnly": true
              }
            }
          }
        ]
      },
      "FtpOutput": {
        "title": "FtpOutput",
        "required": [
          "host"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "host": {
                "type": "string",
                "description": "Host URL or IP of the FTP server",
                "example": "bitmovin.com"
              },
              "port": {
                "type": "integer",
                "description": "Port to use, standard for FTP: 21",
                "example": 21
              },
              "passive": {
                "type": "boolean",
                "description": "Use passive mode. Default is true.",
                "example": true
              },
              "username": {
                "type": "string",
                "description": "Your FTP Username",
                "example": "encodingInputUser",
                "writeOnly": true
              },
              "password": {
                "type": "string",
                "description": "Your FTP password",
                "example": "3nc0d3d!",
                "writeOnly": true
              },
              "transferVersion": {
                "description": "Controls which transfer version should be used",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TransferVersion"
                  }
                ]
              },
              "maxConcurrentConnections": {
                "type": "integer",
                "description": "Restrict maximum concurrent connections. Requires at least version 1.1.0.",
                "example": 20
              }
            }
          }
        ]
      },
      "GcsOutput": {
        "title": "GcsOutput",
        "required": [
          "bucketName",
          "accessKey",
          "secretKey"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "accessKey": {
                "type": "string",
                "description": "GCS access key",
                "example": "GOOGTS7C7FUP3AIRVJTE",
                "writeOnly": true
              },
              "secretKey": {
                "type": "string",
                "description": "GCS secret key",
                "example": "bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ",
                "writeOnly": true
              },
              "bucketName": {
                "type": "string",
                "description": "Name of the bucket",
                "example": "video-bucket"
              },
              "cloudRegion": {
                "description": "The cloud region in which the bucket is located. Is used to determine the ideal location for your encodings automatically.",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GoogleCloudRegion"
                  }
                ]
              }
            }
          }
        ]
      },
      "GcsServiceAccountOutput": {
        "title": "GcsServiceAccountOutput",
        "required": [
          "bucketName",
          "serviceAccountCredentials"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "serviceAccountCredentials": {
                "type": "string",
                "description": "GCS projectId",
                "example": "{\n  \"type\": \"service_account\",\n  \"project_id\": \"bitmovin\",\n  \"private_key_id\": \"dfgsgfdsgsgargdf\",\n  \"private_key\": \"-----BEGIN PRIVATE KEY-----\\nOwdXyjRT9F4A==\\n-----END PRIVATE KEY-----\\n\",\n  \"client_email\": \"bitmovin@bitmovin.iam.gserviceaccount.com\",\n  \"client_id\": \"10440564562784234997\",\n  \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n  \"token_uri\": \"https://oauth2.googleapis.com/token\",\n  \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n  \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/bitmovin%40bitmovin.iam.gserviceaccount.com\"\n}\n",
                "writeOnly": true
              },
              "bucketName": {
                "type": "string",
                "description": "Name of the bucket",
                "example": "video-bucket"
              },
              "cloudRegion": {
                "description": "The cloud region in which the bucket is located. Is used to determine the ideal location for your encodings automatically.",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/GoogleCloudRegion"
                  }
                ]
              }
            }
          }
        ]
      },
      "GenericS3Output": {
        "title": "GenericS3Output",
        "required": [
          "accessKey",
          "secretKey",
          "bucketName",
          "host"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "accessKey": {
                "type": "string",
                "description": "Your generic S3 access key",
                "example": "AKIAIOSFODNN7EXAMPLE",
                "writeOnly": true
              },
              "secretKey": {
                "type": "string",
                "description": "Your generic S3 secret key",
                "example": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
                "writeOnly": true
              },
              "bucketName": {
                "type": "string",
                "description": "Name of the bucket",
                "example": "video-bucket"
              },
              "host": {
                "type": "string",
                "description": "The Generic S3 server hostname (or IP address)",
                "example": "s3.yourdomain.example"
              },
              "port": {
                "type": "integer",
                "description": "The port on which the Generic S3 server is running on (if not provided 8000 will be used)",
                "example": 50123
              },
              "ssl": {
                "type": "boolean",
                "description": "Controls whether SSL is used or not",
                "example": false
              },
              "signingRegion": {
                "type": "string",
                "description": "The signing region to use",
                "example": "eu-west-1"
              },
              "signatureVersion": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/S3SignatureVersion"
                  }
                ],
                "description": "Specifies the method used for authentication",
                "example": "S3_V4"
              },
              "accessStyle": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/S3AccessStyle"
                  }
                ],
                "description": "Specifies the URL access style to use",
                "example": "VIRTUAL_HOSTED"
              }
            }
          }
        ]
      },
      "GoogleCloudRegion": {
        "title": "GoogleCloudRegion",
        "type": "string",
        "enum": [
          "US_CENTRAL_1",
          "US_EAST_1",
          "ASIA_EAST_1",
          "EUROPE_WEST_1",
          "US_WEST_1",
          "ASIA_EAST_2",
          "ASIA_NORTHEAST_1",
          "ASIA_SOUTH_1",
          "ASIA_SOUTHEAST_1",
          "AUSTRALIA_SOUTHEAST_1",
          "EUROPE_NORTH_1",
          "EUROPE_WEST_2",
          "EUROPE_WEST_3",
          "EUROPE_WEST_4",
          "NORTHAMERICA_NORTHEAST_1",
          "SOUTHAMERICA_EAST_1",
          "US_EAST_4",
          "US_WEST_2"
        ],
        "x-enum-elements": [
          {
            "name": "US_CENTRAL_1",
            "description": "Council Bluffs, Iowa, USA"
          },
          {
            "name": "US_EAST_1",
            "description": "Moncks Corner, South Carolina, USA"
          },
          {
            "name": "ASIA_EAST_1",
            "description": "Changhua County, Taiwan"
          },
          {
            "name": "EUROPE_WEST_1",
            "description": "St. Ghislain, Belgium"
          },
          {
            "name": "US_WEST_1",
            "description": "The Dalles, Oregon, USA"
          },
          {
            "name": "ASIA_EAST_2",
            "description": "Hong Kong"
          },
          {
            "name": "ASIA_NORTHEAST_1",
            "description": "Tokyo, Japan"
          },
          {
            "name": "ASIA_SOUTH_1",
            "description": "Mumbai, India"
          },
          {
            "name": "ASIA_SOUTHEAST_1",
            "description": "Jurong West, Singapore"
          },
          {
            "name": "AUSTRALIA_SOUTHEAST_1",
            "description": "Sydney, Australia"
          },
          {
            "name": "EUROPE_NORTH_1",
            "description": "Hamina, Finland"
          },
          {
            "name": "EUROPE_WEST_2",
            "description": "London, England, UK"
          },
          {
            "name": "EUROPE_WEST_3",
            "description": "Frankfurt, Germany"
          },
          {
            "name": "EUROPE_WEST_4",
            "description": "Eemshaven, Netherlands"
          },
          {
            "name": "NORTHAMERICA_NORTHEAST_1",
            "description": "Montréal, Québec, Canada"
          },
          {
            "name": "SOUTHAMERICA_EAST_1",
            "description": "São Paulo, Brazil"
          },
          {
            "name": "US_EAST_4",
            "description": "Ashburn, Northern Virginia, USA"
          },
          {
            "name": "US_WEST_2",
            "description": "Los Angeles, California, USA"
          }
        ]
      },
      "Link": {
        "title": "Link",
        "required": [
          "href"
        ],
        "properties": {
          "href": {
            "type": "string",
            "description": "webpage target URL",
            "example": "https://bitmovin.com/encoding-documentation/bitmovin-api/#/reference/encoding/manifests/add-period"
          },
          "title": {
            "type": "string",
            "description": "Short description of the linked page",
            "example": "how to add a period to a manifest"
          }
        }
      },
      "LiveMediaIngestOutput": {
        "title": "LiveMediaIngestOutput",
        "description": "Live Media and Metadata Ingest Protocol. See https://tools.ietf.org/html/draft-mekuria-mmediaingest-01.",
        "required": [
          "publishingPoint"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "publishingPoint": {
                "type": "string",
                "description": "URL specifying the publishing point for the output. Can use either http or https.",
                "example": "https://live.host.com/some/path/publishingpoint.isml"
              }
            }
          }
        ]
      },
      "LocalOutput": {
        "title": "LocalOutput",
        "required": [
          "path"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "path": {
                "type": "string",
                "description": "Path to your local storage",
                "example": "/mnt/my_local_storage/"
              }
            }
          }
        ]
      },
      "Message": {
        "title": "Message",
        "required": [
          "type",
          "text"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/BitmovinResponse"
          },
          {
            "properties": {
              "type": {
                "description": "Message type giving a hint on the importance of the message (log level)",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/MessageType"
                  }
                ]
              },
              "text": {
                "type": "string",
                "description": "Message text",
                "example": "field must not be empty"
              },
              "field": {
                "type": "string",
                "description": "Name of the field to which the message is referring to",
                "example": "manifestId"
              },
              "links": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/Link"
                },
                "description": "collection of links to webpages containing further information on the topic"
              },
              "more": {
                "type": "object",
                "description": "Service-specific information"
              },
              "date": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the message occurred",
                "example": "2016-06-25T20:09:23.69Z"
              }
            }
          }
        ]
      },
      "MessageType": {
        "title": "MessageType",
        "type": "string",
        "enum": [
          "ERROR",
          "WARNING",
          "INFO",
          "DEBUG",
          "TRACE"
        ]
      },
      "Output": {
        "title": "Output",
        "allOf": [
          {
            "$ref": "#/components/schemas/BitmovinResource"
          },
          {
            "properties": {
              "acl": {
                "deprecated": true,
                "description": "Deprecation notice: This property does not have any effect and will not be returned by GET endpoints",
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/AclEntry"
                }
              }
            }
          }
        ],
        "x-discriminator-enum": {
          "$ref": "#/components/schemas/OutputType"
        },
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "AKAMAI_NETSTORAGE": "#/components/schemas/AkamaiNetStorageOutput",
            "AZURE": "#/components/schemas/AzureOutput",
            "CDN": "#/components/schemas/CdnOutput",
            "GENERIC_S3": "#/components/schemas/GenericS3Output",
            "GCS": "#/components/schemas/GcsOutput",
            "FTP": "#/components/schemas/FtpOutput",
            "LOCAL": "#/components/schemas/LocalOutput",
            "S3": "#/components/schemas/S3Output",
            "S3_ROLE_BASED": "#/components/schemas/S3RoleBasedOutput",
            "SFTP": "#/components/schemas/SftpOutput",
            "AKAMAI_MSL": "#/components/schemas/AkamaiMslOutput",
            "LIVE_MEDIA_INGEST": "#/components/schemas/LiveMediaIngestOutput",
            "GCS_SERVICE_ACCOUNT": "#/components/schemas/GcsServiceAccountOutput"
          }
        }
      },
      "OutputType": {
        "title": "OutputType",
        "type": "string",
        "enum": [
          "AKAMAI_NETSTORAGE",
          "AZURE",
          "GENERIC_S3",
          "GCS",
          "FTP",
          "LOCAL",
          "S3",
          "S3_ROLE_BASED",
          "SFTP",
          "AKAMAI_MSL",
          "LIVE_MEDIA_INGEST",
          "GCS_SERVICE_ACCOUNT",
          "CDN"
        ],
        "x-enum-elements": [
          {
            "name": "AKAMAI_NETSTORAGE"
          },
          {
            "name": "AZURE"
          },
          {
            "name": "GENERIC_S3"
          },
          {
            "name": "GCS"
          },
          {
            "name": "FTP"
          },
          {
            "name": "LOCAL"
          },
          {
            "name": "S3"
          },
          {
            "name": "S3_ROLE_BASED"
          },
          {
            "name": "SFTP"
          },
          {
            "name": "AKAMAI_MSL"
          },
          {
            "name": "LIVE_MEDIA_INGEST"
          },
          {
            "name": "GCS_SERVICE_ACCOUNT"
          },
          {
            "name": "CDN"
          }
        ]
      },
      "ResponseEnvelope": {
        "title": "ResponseEnvelope",
        "required": [
          "requestId",
          "status",
          "data"
        ],
        "properties": {
          "requestId": {
            "type": "string",
            "readOnly": true,
            "description": "Unique correlation id",
            "example": "6d84e126-d10c-4e52-bbfb-bd4c92bc8333"
          },
          "status": {
            "description": "Response status information",
            "readOnly": true,
            "example": "SUCCESS",
            "allOf": [
              {
                "$ref": "#/components/schemas/ResponseStatus"
              }
            ]
          },
          "data": {
            "description": "Response information",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ResultWrapper"
              }
            ]
          },
          "more": {
            "type": "object",
            "description": "Additional endpoint specific information"
          }
        }
      },
      "ResponseError": {
        "title": "ResponseError",
        "required": [
          "requestId",
          "status",
          "data"
        ],
        "properties": {
          "requestId": {
            "type": "string",
            "readOnly": true,
            "description": "Unique correlation id",
            "example": "6d84e126-d10c-4e52-bbfb-bd4c92bc8333"
          },
          "status": {
            "description": "Response status information",
            "readOnly": true,
            "example": "ERROR",
            "allOf": [
              {
                "$ref": "#/components/schemas/ResponseStatus"
              }
            ]
          },
          "data": {
            "description": "Response information",
            "readOnly": true,
            "allOf": [
              {
                "$ref": "#/components/schemas/ResponseErrorData"
              }
            ]
          }
        }
      },
      "ResponseErrorData": {
        "title": "ResponseErrorData",
        "required": [
          "code",
          "message",
          "developerMessage"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "readOnly": true,
            "description": "Contains an error code as defined in https://bitmovin.com/encoding-documentation/bitmovin-api/#/introduction/api-error-codes\n",
            "example": 1005
          },
          "message": {
            "type": "string",
            "readOnly": true,
            "description": "General error message"
          },
          "developerMessage": {
            "type": "string",
            "readOnly": true,
            "description": "More detailed message meant for developers"
          },
          "links": {
            "type": "array",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/Link"
            },
            "description": "collection of links to webpages containing further information on the topic"
          },
          "details": {
            "type": "array",
            "readOnly": true,
            "items": {
              "$ref": "#/components/schemas/Message"
            },
            "description": "collection of messages containing more detailed information on the cause of the error"
          }
        }
      },
      "ResponseStatus": {
        "title": "ResponseStatus",
        "type": "string",
        "enum": [
          "SUCCESS",
          "ERROR"
        ]
      },
      "ResultWrapper": {
        "title": "ResultWrapper",
        "properties": {
          "result": {
            "type": "object",
            "readOnly": true
          }
        }
      },
      "S3Output": {
        "title": "S3Output",
        "required": [
          "accessKey",
          "secretKey",
          "bucketName"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "bucketName": {
                "type": "string",
                "description": "Amazon S3 bucket name",
                "example": "myS3Bucket"
              },
              "accessKey": {
                "type": "string",
                "description": "Amazon S3 access key",
                "example": "AKIAIOSFODNN7EXAMPLE",
                "writeOnly": true
              },
              "secretKey": {
                "type": "string",
                "description": "Amazon S3 secret key",
                "example": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
                "writeOnly": true
              },
              "md5MetaTag": {
                "type": "string",
                "description": "If set a user defined tag (x-amz-meta-) with that key will be used to store the MD5 hash of the file.",
                "example": "my-md5-checksum-tag"
              },
              "cloudRegion": {
                "description": "The cloud region in which the bucket is located. Is used to determine the ideal location for your encodings automatically.",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AwsCloudRegion"
                  }
                ]
              },
              "signatureVersion": {
                "description": "Specifies the method used for authentication. Must be set to S3_V2 if the region supports both V2 and V4, but the bucket allows V2 only (see https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region)",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/S3SignatureVersion"
                  }
                ]
              }
            }
          }
        ]
      },
      "S3RoleBasedOutput": {
        "title": "S3RoleBasedOutput",
        "required": [
          "bucketName",
          "roleArn"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "bucketName": {
                "type": "string",
                "description": "Amazon S3 bucket name",
                "example": "myS3Bucket"
              },
              "roleArn": {
                "type": "string",
                "description": "Amazon ARN of the IAM Role (Identity and Access Management Role) that will be assumed for S3 access.\n\nThis role has to be created by the owner of the account with the S3 bucket (i.e., you as a customer). For Bitmovin to be able to assume this role, the following has to be added\nto the trust policy of the role:\n\n```\n{\n  \"Effect\": \"Allow\",\n  \"Principal\": {\n    \"AWS\": \"arn:aws:iam::630681592166:user/bitmovinCustomerS3Access\"\n  },\n  \"Action\": \"sts:AssumeRole\",\n  \"Condition\": {\n    \"StringEquals\": {\n      \"sts:ExternalId\": \"{{externalId}}\"\n    }\n  }\n}\n```\n\nwhere \"arn:aws:iam::630681592166:user/bitmovinCustomerS3Access\" is the Bitmovin user used for the access.\nThe `Condition` is optional but we highly recommend it, see property `externalId` below for more information.\n\nThis setup allows Bitmovin assume the provided IAM role and to write data to your S3 bucket. Please note that the IAM role has to have write access to S3.\n\nFor more information about role creation please visit https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-service.html#roles-creatingrole-service-console\n",
                "example": "arn:aws:iam::123456789012:role/OurS3AccessRole",
                "writeOnly": true
              },
              "externalId": {
                "type": "string",
                "description": "External ID used together with the IAM role identified by `roleArn` to assume S3 access.\n\nThis ID is provided by the API if `externalIdMode` is set to `GLOBAL` or `GENERATED`. If present, it has to be added to the trust policy of the IAM role `roleArn` configured above, otherwise the API won't be able to write to the S3 bucket. An appropriate trust policy would look like this:\n\n```\n{\n  \"Effect\": \"Allow\",\n  \"Principal\": {\n    \"AWS\": \"arn:aws:iam::630681592166:user/bitmovinCustomerS3Access\"\n  },\n  \"Action\": \"sts:AssumeRole\",\n  \"Condition\": {\n    \"StringEquals\": {\n      \"sts:ExternalId\": \"{{externalId}}\"\n    }\n  }\n}\n```\n\nwhere \"{{externalId}}\" is the generated ID.\n\nThis property is optional but we recommend it as an additional security feature. We will use both the `roleArn` and the `externalId` to access your S3 data.\nIf the Amazon IAM role has an external ID configured but it is not provided in the output configuration Bitmovin won't be able to write to the S3 bucket. Also if the\nexternal ID does not match the one configured for the IAM role on AWS side, Bitmovin won't be able to access the S3 bucket.\n\nIf you need to change the external ID that is used by your IAM role, you need to create a new output, and use the external ID provided by the API to update your IAM role.\n\nFor more information please visit https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html\n",
                "example": "fe8e171b-1953-452c-a3b5-b098c534d71c"
              },
              "externalIdMode": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ExternalIdMode"
                  }
                ]
              },
              "md5MetaTag": {
                "type": "string",
                "description": "If set a user defined tag (x-amz-meta-) with that key will be used to store the MD5 hash of the file.",
                "example": "my-md5-checksum-tag"
              },
              "cloudRegion": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AwsCloudRegion"
                  }
                ]
              },
              "signatureVersion": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/S3SignatureVersion"
                  }
                ],
                "description": "Specifies the method used for authentication",
                "example": "S3_V4"
              }
            }
          }
        ]
      },
      "ExternalIdMode": {
        "title": "ExternalIdMode",
        "type": "string",
        "enum": [
          "CUSTOM",
          "GLOBAL",
          "GENERATED"
        ],
        "default": "CUSTOM",
        "x-enum-elements": [
          {
            "name": "CUSTOM",
            "description": "ExternalId can be provided by using the the `externalId` property. This way is not recommend by AWS (https://aws.amazon.com/blogs/security/how-to-use-external-id-when-granting-access-to-your-aws-resources/)."
          },
          {
            "name": "GLOBAL",
            "description": "The response will include an externalId that's unique and consistent for your organization"
          },
          {
            "name": "GENERATED",
            "description": "The response will include a random externalId."
          }
        ]
      },
      "SftpOutput": {
        "title": "SftpOutput",
        "required": [
          "host"
        ],
        "allOf": [
          {
            "$ref": "#/components/schemas/Output"
          },
          {
            "properties": {
              "host": {
                "type": "string",
                "description": "Host Url or IP of the SFTP server",
                "example": "bitmovin.com"
              },
              "port": {
                "type": "integer",
                "description": "Port to use, standard for SFTP: 22",
                "example": 22
              },
              "passive": {
                "type": "boolean",
                "description": "Use passive mode. Default is true.",
                "example": true
              },
              "username": {
                "type": "string",
                "description": "Your SFTP Username",
                "example": "encodingInputUser",
                "writeOnly": true
              },
              "password": {
                "type": "string",
                "description": "Your SFTP password",
                "example": "3nc0d3d!",
                "writeOnly": true
              },
              "transferVersion": {
                "description": "Controls which transfer version should be used",
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TransferVersion"
                  }
                ]
              },
              "maxConcurrentConnections": {
                "type": "integer",
                "description": "Restrict maximum concurrent connections. Requires at least version 1.1.0.",
                "example": 20
              }
            }
          }
        ]
      },
      "S3SignatureVersion": {
        "title": "S3SignatureVersion",
        "type": "string",
        "enum": [
          "S3_V2",
          "S3_V4"
        ],
        "default": "S3_V4"
      },
      "S3AccessStyle": {
        "title": "S3AccessStyle",
        "description": "Specifies whether to use path or virtual-hosted style access",
        "type": "string",
        "enum": [
          "VIRTUAL_HOSTED",
          "PATH"
        ],
        "x-enum-elements": [
          {
            "name": "VIRTUAL_HOSTED",
            "description": "virtual-hosted style (example: bucket-name.s3.example.com)"
          },
          {
            "name": "PATH",
            "description": "path style (example: s3.example.com/bucket-name)"
          }
        ]
      },
      "TransferVersion": {
        "title": "TransferVersion",
        "type": "string",
        "enum": [
          "DEFAULT",
          "POOL"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
````