AgentConnect
Artifacts

Revoke a share

Revokes a share link; the next read of the link answers 410 ARTIFACT_SHARE_REVOKED. The artifact’s owner and organization owners may revoke, including an organization owner who cannot view the artifact, and so may the member who created the share. Revoking a revoked share succeeds again. 403 ARTIFACT_SHARE_FORBIDDEN for anyone else who can view the artifact; 404 when the caller cannot view it or the share does not exist.

DELETE
/v1/orgs/{orgId}/artifacts/{artifactId}/shares/{shareId}

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
artifactId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
shareId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/orgs/string/artifacts/497f6eca-6276-4993-bfeb-53cbbbba6f08/shares/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty