> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# abortUploadSession

> Cancel an in-flight upload session — the multipart upload is aborted and the placeholder asset is marked failed

**Required scopes:** `write:assets`, `host:write:network_assets` (any one)



**mutation** `abortUploadSession(input: AbortUploadSessionInput!): AbortUploadSessionPayload`

## Arguments

**`input`**: `AbortUploadSessionInput!` (required)

Parameters for AbortUploadSession

## Returns

`AbortUploadSessionPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`errors`**: `[String!]!`

---

**`session`**: `UploadSession`

## Examples

```graphql Mutation
mutation AbortUploadSession($input: AbortUploadSessionInput!) {
  abortUploadSession(input: $input) {
    clientMutationId
    errors
    session {
      assetId
      assetStatus
      assetUrl
      estimateModelVersion
      estimateSource
      estimatedProcessingSeconds
    }
  }
}
```

```json Variables
{
  "input": {
    "sessionToken": "string"
  }
}
```

```json Response
{
  "data": {
    "abortUploadSession": {
      "clientMutationId": "string",
      "errors": [
        "string"
      ],
      "session": {
        "assetId": "id",
        "assetStatus": "string",
        "assetUrl": "string",
        "estimateModelVersion": "string",
        "estimateSource": "string",
        "estimatedProcessingSeconds": 1
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.