Closed kompotkot closed 5 months ago
To handle holders access to API
List holders:
curl 'http://localhost:7379/holders' --header 'Authorization: Bearer <access_token>'
Add new holder:
curl --request POST 'http://localhost:7379/holders' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <access_token>' \ --data '{ "holder_id": "<user_id>", "holder_type": "user", "permissions": ["read"] } '
Remove access to signer:
curl --request DELETE 'http://localhost:7379/holders' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <access_token>' \ --data '{ "holder_id": "<user_id>", "holder_type": "user", "permissions": ["read"] }
To handle holders access to API
List holders:
Add new holder:
Remove access to signer: