Bulk Update or Rotate Encryption Keys
The
/credential-status/update/encrypted
API enables users to update the indices of a Status List or rotate the encryption keys. This may be useful for revoking Credentials in bulk, rather than submitting individual /credential/revoke
requests.When a new encrypted Status List resource is published, this will also encrypt the latest version with a new set of encryption keys. This may therefore be used to rotate encryption keys, even if the listed indices are kept the same.
post
/credential-status/update/encrypted
Update an existing encrypted StatusList2021 credential status list.
Parameters
Query
statusAction*
string
The update action to be performed on the encrypted status list, can be revoke, suspend or reinstate
Body
Example
Schema
{
"did": "string",
"statusListName": "string",
"indices": [
0
],
"statusListVersion": "string",
"symmetricKey": "string",
"feePaymentAddress": "cheqd1qs0nhyk868c246defezhz5eymlt0dmajna2csg",
"feePaymentAmount": 20,
"feePaymentWindow": 10
}
application/x-www-form-urlencoded
Responses
200: OK
The request was successful.
400: Bad Request
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
401: Unauthorized
Access token is missing or invalid
500: Internal Server Error
An internal error has occurred. Additional state information plus metadata may be available in the response body.