"revoked" and the gateway will reject any subsequent invocation attempts.
Request
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
The unique identifier of the published agent to unpublish.
Body parameters
The
provider_id of the provider that owns this agent.The current DID of the provider (e.g.
"did:key:z6Mk…"). Must match the DID on record.Base64-encoded Ed25519 signature over the canonical unpublish payload, signed with the private key for
provider_did.Unique string to prevent replay attacks. The node may reject requests that reuse a nonce from the same provider.
Unix timestamp in milliseconds when this request was signed. The node rejects requests with timestamps too far in the past or future.
Unix timestamp in milliseconds after which this request must be rejected, even if the signature is valid.
Optional human-readable explanation for unpublishing the agent.
Response
Returns the updatedPublishedAgentRecord with status set to "revoked".
The agent identifier.
The owning provider’s identifier.
The version of the agent at the time it was unpublished.
Always
"revoked" after a successful unpublish.The agent’s A2A card (preserved for audit purposes).
The agent’s deployment configuration (preserved for audit purposes).
The agent’s review profile (preserved for audit purposes).
ISO 8601 timestamp of original approval.
ISO 8601 timestamp of this unpublish event.
Identity of the original reviewer.
Original reviewer notes, if any.
Status codes
| Code | Meaning |
|---|---|
200 OK | Agent unpublished successfully. Returns the updated PublishedAgentRecord. |
400 Bad Request | Missing required fields, invalid signature, or the request has expired. |
403 Forbidden | The provider_did or provider_id does not match the record on file. |
404 Not Found | No published agent with the given agent_id exists on this node. |