Skip to content

Revoke a managed customer Agent ​

Revoke a lost or replaced Agent and take its printers offline.

DELETE/partner-api/v1/accounts/{relationshipId}/agents/{agentId}API version: v1operationId: revokePartnerManagedAgentView as Markdown

What this endpoint does ​

Revoke a lost or replaced Agent and take its printers offline.

Authentication ​

Send a one-time RS256 Developer Application assertion in Authorization: Bearer <application_assertion>. This assertion is not a Public API access token.

Request ​

Production base URL: https://public-api.cloudprint.me/partner-api/v1/accounts/{relationshipId}/agents/{agentId}

Parameters ​

NameLocationTypeRequiredDescriptionConstraints
relationshipIdpathstring (uuid)yesStable UUID of the partner's relationship with the managed customer.—
agentIdpathstring (uuid)yesStable UUID of the managed customer agent addressed by the path.—
X-Request-IdheaderstringnoOptional request identifier for tracing; CloudPrint returns a safe value in the response header.maxLength: 128; example: "order-100045-attempt-1"

Request body ​

This endpoint has no request body.

Example requests ​

cURL ​

bash
curl -sS -X DELETE "https://public-api.cloudprint.me/partner-api/v1/accounts/$RELATIONSHIP_ID/agents/$AGENT_ID" \
  -H "Authorization: Bearer $APPLICATION_ASSERTION"

Response ​

HTTP status: 204 — Agent revoked

Errors ​

HTTP statusDescription
401Application assertion is invalid
403Developer Account production access is not active
404Managed Account or Agent was not found
422Relationship ID or Agent ID is invalid
429Rate limit exceeded
500Unexpected error

Guides for integrating CloudPrint, connecting the local agent and operating print workflows.