CredentialDeletionRequest

@Serializable
data class CredentialDeletionRequest(val credentialId: String, val revoke: Boolean? = null, val revocationReason: Int? = null)(source)

CSC Data Model 1.0.0 section 9.2.

Constructors

Link copied to clipboard
constructor(credentialId: String, revoke: Boolean? = null, revocationReason: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "credentialID")
val credentialId: String

CSC Data Model 1.0.0 section 9.2: REQUIRED Identifier of the credential to delete.

Link copied to clipboard
@SerialName(value = "revocationReason")
val revocationReason: Int?

CSC Data Model 1.0.0 section 9.2: CONDITIONAL Required when revoke is true; MUST be ignored when revoke is absent or false (RFC 5280).

Link copied to clipboard
@SerialName(value = "revoke")
val revoke: Boolean?

CSC Data Model 1.0.0 section 9.2: OPTIONAL Whether deletion also revokes the credential.