tools.ozone.verification.revokeVerifications

Revoke previously granted verifications in batches of up to 100.

class atproto_client.models.tools.ozone.verification.revoke_verifications.Data

Bases: DataModelBase

Input data model for tools.ozone.verification.revokeVerifications.

field revoke_reason: str | None = None
Constraints:
  • max_length = 1000

field uris: List[AtUri] [Required]

Array of verification record uris to revoke. The AT-URI of the verification record to revoke.

Constraints:
  • max_length = 100

class atproto_client.models.tools.ozone.verification.revoke_verifications.DataDict

Bases: TypedDict

uris: List[AtUri]

Array of verification record uris to revoke. The AT-URI of the verification record to revoke.

revoke_reason: NotRequired[str | None]

Reason for revoking the verification. This is optional and can be omitted if not needed.

class atproto_client.models.tools.ozone.verification.revoke_verifications.Response

Bases: ResponseModelBase

Output data model for tools.ozone.verification.revokeVerifications.

field failed_revocations: List[models.ToolsOzoneVerificationRevokeVerifications.RevokeError] [Required]

List of verification uris that couldn’t be revoked, including failure reasons.

field revoked_verifications: List[AtUri] [Required]

List of verification uris successfully revoked.

class atproto_client.models.tools.ozone.verification.revoke_verifications.RevokeError

Bases: ModelBase

Definition model for tools.ozone.verification.revokeVerifications. Error object for failed revocations.

field error: str [Required]

Description of the error that occurred during revocation.

field uri: AtUri [Required]

The AT-URI of the verification record that failed to revoke.