Skip to main content
Revokes a published agent and removes it from the active registry. The request must be signed with the Ed25519 private key corresponding to the provider’s current DID, proving that the request originates from the legitimate provider. Once unpublished, the agent’s status is set to "revoked" and the gateway will reject any subsequent invocation attempts.

Request

The signature must be an Ed25519 signature over the canonical unpublish payload, which encodes the fields action, provider_id, provider_did, agent_id, nonce, issued_at_ms, expires_at_ms, and reason as a JSON object.

Path parameters

string
required
The unique identifier of the published agent to unpublish.

Body parameters

string
required
The provider_id of the provider that owns this agent.
string
required
The current DID of the provider (e.g. "did:key:z6Mk…"). Must match the DID on record.
string
required
Base64-encoded Ed25519 signature over the canonical unpublish payload, signed with the private key for provider_did.
string
required
Unique string to prevent replay attacks. The node may reject requests that reuse a nonce from the same provider.
integer
required
Unix timestamp in milliseconds when this request was signed. The node rejects requests with timestamps too far in the past or future.
integer
required
Unix timestamp in milliseconds after which this request must be rejected, even if the signature is valid.
string
Optional human-readable explanation for unpublishing the agent.

Response

Returns the updated PublishedAgentRecord with status set to "revoked".
string
The agent identifier.
string
The owning provider’s identifier.
string
The version of the agent at the time it was unpublished.
string
Always "revoked" after a successful unpublish.
object
The agent’s A2A card (preserved for audit purposes).
object
The agent’s deployment configuration (preserved for audit purposes).
AgentReviewProfile
The agent’s review profile (preserved for audit purposes).
string
ISO 8601 timestamp of original approval.
string
ISO 8601 timestamp of this unpublish event.
string
Identity of the original reviewer.
string
Original reviewer notes, if any.

Status codes

Example response