Resource permissions overview
This table outlines the available actions for each REST resource and provides additional notes where relevant.
REST Resource | Create | Read | Update | Delete | Restore | Search | Other | Notes |
---|---|---|---|---|---|---|---|---|
api-keys | ✓ | ✓ | ✓* | ✓ | ✓ | ✓ | Read history, Read specific version | API key values cannot be read |
credentials | ✓** | ✓ | ✓* | ✓ | ✓ | ✓ | Import, Upload, Verify, Download blob, Read history, Read specific version | - |
desk | - | - | - | - | - | - | Get DID-Document, Receive DIDCOMM Message | - |
didcomm-messages | ✓*** | ✓ | ✓* | ✓ | ✓ | ✓ | Send, Read history, Read specific version | Can include Verifiable Credentials (VCs), Verifiable Presentations (VPs), and files |
dids | - | ✓**** | - | - | - | - | - | - |
drafts | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | Export, Issue, Read history, Read specific version | - |
files | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | Upload, Download blob, Read history, Read specific version | - |
gdpr | ✓***** | - | - | - | - | - | - | - |
keys | ✓****** | ✓ | ✓* | ✓ | ✓ | ✓ | Generate, Import, Sign credential, Sign DIDCOMM Message, Sign presentation, Read history, Read specific version | Key values cannot be read |
presentations | ✓******* | ✓ | ✓* | ✓ | ✓ | ✓ | Export, Import, Issue, Upload, Verify, Download blob, Read history, Read specific version | Contain Verifiable Credentials (VCs) |
Notes:
- * Only labels and annotations can be updated, not the underlying resource blobs.
- ** Credentials are created by importing or from drafts.
- *** DIDCOMM messages are created by the
send
operation. - **** Retrieves the tenant’s DID document (
did:web
). - ***** Sends the GDRP support request to Truvity.
- ****** Keys are created by generation or importing.
- ******* Presentations are created by importing or issuing.