CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

adobe/adobe-for-developers

Search the developer.adobe.com docs. Manage Adobe Developer Console projects, workspaces, APIs, and credentials. Create and test I/O Events registrations and subscriber defined filters.

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

SKILL.mdskills/dev-console-unsubscribe-api/

name:
dev-console-unsubscribe-api
description:
Use when the user wants to remove an Adobe API from a credential — phrases like "unsubscribe from Analytics", "remove Firefly from this credential", "stop using this API", or "disconnect an API".
license:
Apache-2.0

Mandatory prerequisite: Before starting this skill, read and apply Common Skill Rules.

Unsubscribe API Flow

Remove one or more API subscriptions from a credential in the selected workspace.

Before starting: invoke the dev-console-context skill to establish the org, project, and workspace context, reusing any selected credential. Otherwise, resolve the credential here: list credentials in the selected workspace and inspect each with get_credential_services before offering a selection. Offer only credentials subscribed to the requested API, or credentials with any subscription if no API was specified.

Steps

  1. Confirm the target — Resolve the requested API or APIs from get_credential_services; ask for a selection only if the target is unresolved. Show API, credential, and project names only; never show raw IDs or SDK codes. Only offer currently subscribed APIs. If none match the request, report that without offering an unsubscription.

  2. Explain the change and request approval — Before calling a tool, summarize the API name(s), credential name, and project name that will be affected, and say that the change has no automatic undo. Do not ask the user to type a name or provide a typed confirmation. The client's Yes/No approval prompt is the confirmation.

  3. Remove the subscription:

    • For credential types adobeid, analytics, entp, and oauth_server_to_server, call unsubscribe_credential_from_service with orgId, projectId, workspaceId, the credential's actual credentialType, credentialId, and the selected API's sdkCode in sdkCodes.
    • For Admin Enterprise (admin_entp), call unsubscribe_admin_enterprise_credential_from_service with orgId, credentialId, and one service item containing the selected API's sdkCode plus any required subscription settings. Use the existing subscription details; do not invent settings. Make one call per API so the client can approve each removal separately.
    • Never emulate unsubscription by sending a reduced service list to a subscription or update tool. For OAuth Server-to-Server, always use unsubscribe_credential_from_service; it selects the dedicated upstream unsubscribe path.
    • If the user declines a client approval prompt, stop without retrying or working around it.
  4. Report the result — Report removal only when the tool confirms success. For Admin Enterprise, inspect the returned status and body for failures before claiming success. For other credential types, use the tool's returned remaining APIs when available; do not make a verification call unless the response is ambiguous or an error occurred.

Rules

  • Use the credential's actual type, not the API's type. In particular, an API with type entp may be subscribed to an OAuth Server-to-Server credential.
  • For Admin Enterprise, update_admin_enterprise_credential changes credential details only; it cannot remove an API subscription.
  • If an API's identity or required Admin Enterprise subscription settings are unclear, inspect the available subscription details or call search_adobe_docs. Never guess an SDK code or settings.

skills

dev-console-unsubscribe-api

.mcp.json

README.md

tile.json