naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Delete description: 'Atlassian Bit Bucket Repositories API — Delete. 28 operations. Lead operation: Atlassian Delete Repository. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Delete created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: bitbucket-repositories-delete baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Delete business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug path: /repositories/{workspace}/{repo_slug} operations: - name: deleterepository method: DELETE description: Atlassian Delete Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: redirect_to in: query type: string description: If a repository has been moved to a new location, use this parameter to - name: repositories-workspace-repo_slug-branch-restrictions-id path: /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} operations: - name: deletebranchrestrictionrule method: DELETE description: Atlassian Delete Branch Restriction Rule outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-commit-commit-comments-comment_id path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} operations: - name: deletecommitcomment method: DELETE description: Atlassian Delete Commit Comment outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-commit-commit-properties-app_key-property_name path: /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} operations: - name: deletecommitapplicationproperty method: DELETE description: Atlassian Delete Commit Application Property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The repository container; either the workspace slug or the UUID in curly braces. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: commit in: path type: string description: The commit. required: true - name: app_key in: path type: string description: The key of the Connect app. required: true - name: property_name in: path type: string description: The name of the property. required: true - name: repositories-workspace-repo_slug-commit-commit-reports-reportId path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} operations: - name: deletereport method: DELETE description: Atlassian Delete Report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations-anno path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} operations: - name: deleteanannotation method: DELETE description: Atlassian Delete an Annotation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: commit in: path type: string description: The commit the annotation belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the annotation. required: true - name: annotationId in: path type: string description: Either the uuid or external-id of the annotation. required: true - name: repositories-workspace-repo_slug-deploy-keys-key_id path: /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} operations: - name: deleterepositorydeploykey method: DELETE description: Atlassian Delete Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-deployments_config-environments-environment_uui path: /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} operations: - name: deletevariableforanenvironment method: DELETE description: Atlassian Delete Variable for an Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: environment_uuid in: path type: string description: The environment. required: true - name: variable_uuid in: path type: string description: The UUID of the variable to delete. required: true - name: repositories-workspace-repo_slug-downloads-filename path: /repositories/{workspace}/{repo_slug}/downloads/{filename} operations: - name: deletedownloadartifact method: DELETE description: Atlassian Delete Download Artifact outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-environments-environment_uuid path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} operations: - name: deleteanenvironment method: DELETE description: Atlassian Delete an Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: environment_uuid in: path type: string description: The environment UUID. required: true - name: repositories-workspace-repo_slug-hooks-uid path: /repositories/{workspace}/{repo_slug}/hooks/{uid} operations: - name: deletewebhookforrepository method: DELETE description: Atlassian Delete Webhook for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-issues-issue_id path: /repositories/{workspace}/{repo_slug}/issues/{issue_id} operations: - name: deleteanissue method: DELETE description: Atlassian Delete an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-issues-issue_id-attachments-path path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path} operations: - name: deleteanattachmentforanissue method: DELETE description: Atlassian Delete an Attachment for an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-issues-issue_id-comments-comment_id path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} operations: - name: deletecommentonanissue method: DELETE description: Atlassian Delete Comment on an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-permissions-config-groups-group_slug path: /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} operations: - name: deleteanexplicitgrouppermissionforrepository method: DELETE description: Atlassian Delete an Explicit Group Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-permissions-config-users-selected_user_id path: /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} operations: - name: deleteanexplicituserpermissionforrepository method: DELETE description: Atlassian Delete an Explicit User Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pipelines-config-caches path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches operations: - name: deletecaches method: DELETE description: Atlassian Delete Caches outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The account. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: name in: query type: string description: The cache name. required: true - name: repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid} operations: - name: deletecache method: DELETE description: Atlassian Delete Cache outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The account. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: cache_uuid in: path type: string description: The UUID of the cache to delete. required: true - name: repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} operations: - name: deleteschedule method: DELETE description: Atlassian Delete Schedule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: schedule_uuid in: path type: string description: The uuid of the schedule. required: true - name: repositories-workspace-repo_slug-pipelines_config-ssh-key_pair path: /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair operations: - name: deletesshkeypair method: DELETE description: Atlassian Delete Ssh Key Pair outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: repositories-workspace-repo_slug-pipelines_config-ssh-known_hosts-known_host_uui path: /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} operations: - name: deleteknownhost method: DELETE description: Atlassian Delete Known Host outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: known_host_uuid in: path type: string description: The UUID of the known host to delete. required: true - name: repositories-workspace-repo_slug-pipelines_config-variables-variable_uuid path: /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} operations: - name: deletevariableforrepository method: DELETE description: Atlassian Delete Variable for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: variable_uuid in: path type: string description: The UUID of the variable to delete. required: true - name: repositories-workspace-repo_slug-properties-app_key-property_name path: /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} operations: - name: deleterepositoryapplicationproperty method: DELETE description: Atlassian Delete Repository Application Property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The repository container; either the workspace slug or the UUID in curly braces. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: app_key in: path type: string description: The key of the Connect app. required: true - name: property_name in: path type: string description: The name of the property. required: true - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-comments-comment_i path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} operations: - name: deletecommentonpullrequest method: DELETE description: Atlassian Delete Comment on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks-task_id path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id} operations: - name: deletetaskonpullrequest method: DELETE description: Atlassian Delete Task on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key- path: /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} operations: - name: deletepullrequestapplicationproperty method: DELETE description: Atlassian Delete Pull Request Application Property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The repository container; either the workspace slug or the UUID in curly braces. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: pullrequest_id in: path type: string description: The pull request ID. required: true - name: app_key in: path type: string description: The key of the Connect app. required: true - name: property_name in: path type: string description: The name of the property. required: true - name: repositories-workspace-repo_slug-refs-branches-name path: /repositories/{workspace}/{repo_slug}/refs/branches/{name} operations: - name: deletebranch method: DELETE description: Atlassian Delete Branch outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-refs-tags-name path: /repositories/{workspace}/{repo_slug}/refs/tags/{name} operations: - name: deletetag method: DELETE description: Atlassian Delete Tag outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-delete-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Delete. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug} name: repositories-workspace-repo-slug description: REST surface for repositories-workspace-repo_slug. operations: - method: DELETE name: deleterepository description: Atlassian Delete Repository call: bitbucket-repositories-delete.deleterepository with: redirect_to: rest.redirect_to outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id} name: repositories-workspace-repo-slug-branch-restrictions-id description: REST surface for repositories-workspace-repo_slug-branch-restrictions-id. operations: - method: DELETE name: deletebranchrestrictionrule description: Atlassian Delete Branch Restriction Rule call: bitbucket-repositories-delete.deletebranchrestrictionrule outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments/{comment-id} name: repositories-workspace-repo-slug-commit-commit-comments-comment-id description: REST surface for repositories-workspace-repo_slug-commit-commit-comments-comment_id. operations: - method: DELETE name: deletecommitcomment description: Atlassian Delete Commit Comment call: bitbucket-repositories-delete.deletecommitcomment outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/properties/{app-key}/{property-name} name: repositories-workspace-repo-slug-commit-commit-properties-app-key-property-name description: REST surface for repositories-workspace-repo_slug-commit-commit-properties-app_key-property_name. operations: - method: DELETE name: deletecommitapplicationproperty description: Atlassian Delete Commit Application Property call: bitbucket-repositories-delete.deletecommitapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit app_key: rest.app_key property_name: rest.property_name outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid} name: repositories-workspace-repo-slug-commit-commit-reports-reportid description: REST surface for repositories-workspace-repo_slug-commit-commit-reports-reportId. operations: - method: DELETE name: deletereport description: Atlassian Delete Report call: bitbucket-repositories-delete.deletereport with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations/{annotationid} name: repositories-workspace-repo-slug-commit-commit-reports-reportid-annotations-anno description: REST surface for repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations-anno. operations: - method: DELETE name: deleteanannotation description: Atlassian Delete an Annotation call: bitbucket-repositories-delete.deleteanannotation with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId annotationId: rest.annotationId outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/deploy-keys/{key-id} name: repositories-workspace-repo-slug-deploy-keys-key-id description: REST surface for repositories-workspace-repo_slug-deploy-keys-key_id. operations: - method: DELETE name: deleterepositorydeploykey description: Atlassian Delete Repository Deploy Key call: bitbucket-repositories-delete.deleterepositorydeploykey outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/deployments-config/environments/{environment-uuid}/variables/{variable-uuid} name: repositories-workspace-repo-slug-deployments-config-environments-environment-uui description: REST surface for repositories-workspace-repo_slug-deployments_config-environments-environment_uui. operations: - method: DELETE name: deletevariableforanenvironment description: Atlassian Delete Variable for an Environment call: bitbucket-repositories-delete.deletevariableforanenvironment with: workspace: rest.workspace repo_slug: rest.repo_slug environment_uuid: rest.environment_uuid variable_uuid: rest.variable_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/downloads/{filename} name: repositories-workspace-repo-slug-downloads-filename description: REST surface for repositories-workspace-repo_slug-downloads-filename. operations: - method: DELETE name: deletedownloadartifact description: Atlassian Delete Download Artifact call: bitbucket-repositories-delete.deletedownloadartifact outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/environments/{environment-uuid} name: repositories-workspace-repo-slug-environments-environment-uuid description: REST surface for repositories-workspace-repo_slug-environments-environment_uuid. operations: - method: DELETE name: deleteanenvironment description: Atlassian Delete an Environment call: bitbucket-repositories-delete.deleteanenvironment with: workspace: rest.workspace repo_slug: rest.repo_slug environment_uuid: rest.environment_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/hooks/{uid} name: repositories-workspace-repo-slug-hooks-uid description: REST surface for repositories-workspace-repo_slug-hooks-uid. operations: - method: DELETE name: deletewebhookforrepository description: Atlassian Delete Webhook for Repository call: bitbucket-repositories-delete.deletewebhookforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id} name: repositories-workspace-repo-slug-issues-issue-id description: REST surface for repositories-workspace-repo_slug-issues-issue_id. operations: - method: DELETE name: deleteanissue description: Atlassian Delete an Issue call: bitbucket-repositories-delete.deleteanissue outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/attachments/{path} name: repositories-workspace-repo-slug-issues-issue-id-attachments-path description: REST surface for repositories-workspace-repo_slug-issues-issue_id-attachments-path. operations: - method: DELETE name: deleteanattachmentforanissue description: Atlassian Delete an Attachment for an Issue call: bitbucket-repositories-delete.deleteanattachmentforanissue outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/comments/{comment-id} name: repositories-workspace-repo-slug-issues-issue-id-comments-comment-id description: REST surface for repositories-workspace-repo_slug-issues-issue_id-comments-comment_id. operations: - method: DELETE name: deletecommentonanissue description: Atlassian Delete Comment on an Issue call: bitbucket-repositories-delete.deletecommentonanissue outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/permissions-config/groups/{group-slug} name: repositories-workspace-repo-slug-permissions-config-groups-group-slug description: REST surface for repositories-workspace-repo_slug-permissions-config-groups-group_slug. operations: - method: DELETE name: deleteanexplicitgrouppermissionforrepository description: Atlassian Delete an Explicit Group Permission for Repository call: bitbucket-repositories-delete.deleteanexplicitgrouppermissionforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/permissions-config/users/{selected-user-id} name: repositories-workspace-repo-slug-permissions-config-users-selected-user-id description: REST surface for repositories-workspace-repo_slug-permissions-config-users-selected_user_id. operations: - method: DELETE name: deleteanexplicituserpermissionforrepository description: Atlassian Delete an Explicit User Permission for Repository call: bitbucket-repositories-delete.deleteanexplicituserpermissionforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches name: repositories-workspace-repo-slug-pipelines-config-caches description: REST surface for repositories-workspace-repo_slug-pipelines-config-caches. operations: - method: DELETE name: deletecaches description: Atlassian Delete Caches call: bitbucket-repositories-delete.deletecaches with: workspace: rest.workspace repo_slug: rest.repo_slug name: rest.name outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid} name: repositories-workspace-repo-slug-pipelines-config-caches-cache-uuid description: REST surface for repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid. operations: - method: DELETE name: deletecache description: Atlassian Delete Cache call: bitbucket-repositories-delete.deletecache with: workspace: rest.workspace repo_slug: rest.repo_slug cache_uuid: rest.cache_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid} name: repositories-workspace-repo-slug-pipelines-config-schedules-schedule-uuid description: REST surface for repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid. operations: - method: DELETE name: deleteschedule description: Atlassian Delete Schedule call: bitbucket-repositories-delete.deleteschedule with: workspace: rest.workspace repo_slug: rest.repo_slug schedule_uuid: rest.schedule_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/key-pair name: repositories-workspace-repo-slug-pipelines-config-ssh-key-pair description: REST surface for repositories-workspace-repo_slug-pipelines_config-ssh-key_pair. operations: - method: DELETE name: deletesshkeypair description: Atlassian Delete Ssh Key Pair call: bitbucket-repositories-delete.deletesshkeypair with: workspace: rest.workspace repo_slug: rest.repo_slug outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts/{known-host-uuid} name: repositories-workspace-repo-slug-pipelines-config-ssh-known-hosts-known-host-uui description: REST surface for repositories-workspace-repo_slug-pipelines_config-ssh-known_hosts-known_host_uui. operations: - method: DELETE name: deleteknownhost description: Atlassian Delete Known Host call: bitbucket-repositories-delete.deleteknownhost with: workspace: rest.workspace repo_slug: rest.repo_slug known_host_uuid: rest.known_host_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables/{variable-uuid} name: repositories-workspace-repo-slug-pipelines-config-variables-variable-uuid description: REST surface for repositories-workspace-repo_slug-pipelines_config-variables-variable_uuid. operations: - method: DELETE name: deletevariableforrepository description: Atlassian Delete Variable for Repository call: bitbucket-repositories-delete.deletevariableforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug variable_uuid: rest.variable_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/properties/{app-key}/{property-name} name: repositories-workspace-repo-slug-properties-app-key-property-name description: REST surface for repositories-workspace-repo_slug-properties-app_key-property_name. operations: - method: DELETE name: deleterepositoryapplicationproperty description: Atlassian Delete Repository Application Property call: bitbucket-repositories-delete.deleterepositoryapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug app_key: rest.app_key property_name: rest.property_name outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/comments/{comment-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-comments-comment-i description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-comments-comment_i. operations: - method: DELETE name: deletecommentonpullrequest description: Atlassian Delete Comment on Pull Request call: bitbucket-repositories-delete.deletecommentonpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/tasks/{task-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-tasks-task-id description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks-task_id. operations: - method: DELETE name: deletetaskonpullrequest description: Atlassian Delete Task on Pull Request call: bitbucket-repositories-delete.deletetaskonpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name} name: repositories-workspace-repo-slug-pullrequests-pullrequest-id-properties-app-key description: REST surface for repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key-. operations: - method: DELETE name: deletepullrequestapplicationproperty description: Atlassian Delete Pull Request Application Property call: bitbucket-repositories-delete.deletepullrequestapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug pullrequest_id: rest.pullrequest_id app_key: rest.app_key property_name: rest.property_name outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/refs/branches/{name} name: repositories-workspace-repo-slug-refs-branches-name description: REST surface for repositories-workspace-repo_slug-refs-branches-name. operations: - method: DELETE name: deletebranch description: Atlassian Delete Branch call: bitbucket-repositories-delete.deletebranch outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/refs/tags/{name} name: repositories-workspace-repo-slug-refs-tags-name description: REST surface for repositories-workspace-repo_slug-refs-tags-name. operations: - method: DELETE name: deletetag description: Atlassian Delete Tag call: bitbucket-repositories-delete.deletetag outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-delete-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Delete. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-delete-repository description: Atlassian Delete Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleterepository with: redirect_to: tools.redirect_to outputParameters: - type: object mapping: $. - name: atlassian-delete-branch-restriction-rule description: Atlassian Delete Branch Restriction Rule hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletebranchrestrictionrule outputParameters: - type: object mapping: $. - name: atlassian-delete-commit-comment description: Atlassian Delete Commit Comment hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletecommitcomment outputParameters: - type: object mapping: $. - name: atlassian-delete-commit-application-property description: Atlassian Delete Commit Application Property hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletecommitapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $. - name: atlassian-delete-report description: Atlassian Delete Report hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletereport with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId outputParameters: - type: object mapping: $. - name: atlassian-delete-annotation description: Atlassian Delete an Annotation hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteanannotation with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId annotationId: tools.annotationId outputParameters: - type: object mapping: $. - name: atlassian-delete-repository-deploy-key description: Atlassian Delete Repository Deploy Key hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleterepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-delete-variable-environment description: Atlassian Delete Variable for an Environment hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletevariableforanenvironment with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid variable_uuid: tools.variable_uuid outputParameters: - type: object mapping: $. - name: atlassian-delete-download-artifact description: Atlassian Delete Download Artifact hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletedownloadartifact outputParameters: - type: object mapping: $. - name: atlassian-delete-environment description: Atlassian Delete an Environment hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteanenvironment with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid outputParameters: - type: object mapping: $. - name: atlassian-delete-webhook-repository description: Atlassian Delete Webhook for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletewebhookforrepository outputParameters: - type: object mapping: $. - name: atlassian-delete-issue description: Atlassian Delete an Issue hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteanissue outputParameters: - type: object mapping: $. - name: atlassian-delete-attachment-issue description: Atlassian Delete an Attachment for an Issue hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteanattachmentforanissue outputParameters: - type: object mapping: $. - name: atlassian-delete-comment-issue description: Atlassian Delete Comment on an Issue hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletecommentonanissue outputParameters: - type: object mapping: $. - name: atlassian-delete-explicit-group-permission description: Atlassian Delete an Explicit Group Permission for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteanexplicitgrouppermissionforrepository outputParameters: - type: object mapping: $. - name: atlassian-delete-explicit-user-permission description: Atlassian Delete an Explicit User Permission for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteanexplicituserpermissionforrepository outputParameters: - type: object mapping: $. - name: atlassian-delete-caches description: Atlassian Delete Caches hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletecaches with: workspace: tools.workspace repo_slug: tools.repo_slug name: tools.name outputParameters: - type: object mapping: $. - name: atlassian-delete-cache description: Atlassian Delete Cache hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletecache with: workspace: tools.workspace repo_slug: tools.repo_slug cache_uuid: tools.cache_uuid outputParameters: - type: object mapping: $. - name: atlassian-delete-schedule description: Atlassian Delete Schedule hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteschedule with: workspace: tools.workspace repo_slug: tools.repo_slug schedule_uuid: tools.schedule_uuid outputParameters: - type: object mapping: $. - name: atlassian-delete-ssh-key-pair description: Atlassian Delete Ssh Key Pair hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletesshkeypair with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-delete-known-host description: Atlassian Delete Known Host hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleteknownhost with: workspace: tools.workspace repo_slug: tools.repo_slug known_host_uuid: tools.known_host_uuid outputParameters: - type: object mapping: $. - name: atlassian-delete-variable-repository description: Atlassian Delete Variable for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletevariableforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug variable_uuid: tools.variable_uuid outputParameters: - type: object mapping: $. - name: atlassian-delete-repository-application-property description: Atlassian Delete Repository Application Property hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deleterepositoryapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $. - name: atlassian-delete-comment-pull-request description: Atlassian Delete Comment on Pull Request hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletecommentonpullrequest outputParameters: - type: object mapping: $. - name: atlassian-delete-task-pull-request description: Atlassian Delete Task on Pull Request hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletetaskonpullrequest outputParameters: - type: object mapping: $. - name: atlassian-delete-pull-request-application description: Atlassian Delete Pull Request Application Property hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletepullrequestapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug pullrequest_id: tools.pullrequest_id app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $. - name: atlassian-delete-branch description: Atlassian Delete Branch hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletebranch outputParameters: - type: object mapping: $. - name: atlassian-delete-tag description: Atlassian Delete Tag hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-delete.deletetag outputParameters: - type: object mapping: $.