Skip to content

Revoke an Agent Enrollment

Revoke one unclaimed Enrollment so its secret can no longer connect an Agent.

DELETE/partner-api/v1/accounts/{relationshipId}/agent-enrollments/{enrollmentId}API version: v1operationId: revokePartnerAgentEnrollmentView as Markdown

What this endpoint does

Revoke one unclaimed Enrollment so its secret can no longer connect an Agent.

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}/agent-enrollments/{enrollmentId}

Parameters

NameLocationTypeRequiredDescriptionConstraints
relationshipIdpathstring (uuid)yes
enrollmentIdpathstring (uuid)yes

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/agent-enrollments/$ENROLLMENT_ID" \
  -H "Authorization: Bearer $APPLICATION_ASSERTION"

Response

HTTP status: 204 — Agent Enrollment revoked

Errors

HTTP statusDescription
401Application assertion is invalid
403Partner capability is not granted
404Managed Account or Agent Enrollment was not found
422Relationship ID or Agent Enrollment ID is invalid
429Rate limit exceeded
500Unexpected error

Integration guidance

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