Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Confluence Command Line Interface (CLI)
Results will update as you type.
  • getCommentSource
  • getComments
  • getContent
  • getContentHistoryList
  • getContentList
  • getGroupList
  • getLabelList
  • getPage
  • getPageHistoryList
  • getPageList
  • getPageSource
  • getPermissionList
  • getQuestion
  • getQuestionList
  • getReplacementVariableList
  • getServerInfo
  • getShortcutList
  • getSource
  • getSpace
  • getSpaceList
  • getSpacePermissionList
  • getTopic
  • getTopicList
  • getTrashList
  • getUser
  • getUserList
  • getWatchList
  • help
  • hideShortcut
  • installApp
  • loadFiles
  • login
  • logout
  • modifyBlog
  • modifyPage
  • movePage
  • moveShortcut
  • publishPage
  • removeAllPermissionsForGroup
  • removeApplicationLink
  • removeAttachment
  • removeAttachmentVersion
  • removeAttachmentVersions
  • removeBlog
  • removeComment
  • removeComments
  • removeContent
  • removeContentVersion
  • removeContentVersions
  • removeGroup
  • removeLabels
  • removePage
  • removePageVersion
  • removePageVersions
  • removePermissions
  • removeQuestion
  • removeQuestionWatch
  • removeShortcut
  • removeSpace
  • removeTopic
  • removeTopicWatch
  • removeTrash
  • removeUser
  • removeUserFromGroup
  • removeWatch
  • renamePage
  • render
  • renderBlog
  • renderPage
  • renderRequest
  • restoreExport
  • run
  • runFromApplicationLinkList
  • runFromAttachmentList
  • runFromAttachmentVersionList
  • runFromBlogList
  • runFromCommentList
  • runFromContentList
  • runFromCsv
  • runFromGroupList
  • runFromJson
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    removeAttachment

    removeAttachment

    Dec 03, 2024

    See also: Actions

    Description

    Remove an attachment by name from the page identified by space and title or page id. A numeric attachment id can substitute for the attachment name.

    Required Parameters

    ((space and title) or id), name

    Optional Parameters

    Type

    Delete

    Category

    Attachments

    Output Formats

    Replacement Variables

    Hostingcloud,server,datacenter
    Since Version

    Examples

    Related How To's

    , multiple selections available, Use left or right arrow keys to navigate selected items
    cli-action
    cli-action-removeattachment
    cli-parameter-space
    cli-parameter-title
    cli-parameter-id
    cli-parameter-name
    cli-parameter-action
    cli-parameter-dateformat
    cli-parameter-dateformat2
    cli-parameter-help
    cli-parameter-outputtype
    cli-parameter-special
    cli-parameter-quiet
    cli-parameter-verbose
    cli-parameter-debug
    cli-action-category-attachments
    cli-action-type-delete
    cli-parameter-server
    cli-parameter-user
    cli-parameter-password
    cli-parameter-token

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 13, "requestCorrelationId": "d335444ba2684225a412b538379797e9"}