post https://ag.eqhub.eqbr.com/api/v1/nft-kits//roles
This request grants or revokes a role.
Response
name | Type | Required | Description |
---|---|---|---|
data | Object | True | Created data. |
transaction_hash | String | True | Hashed value of the requested transaction. |
data
name | Type | Required | Description |
---|---|---|---|
role_id | Number | True | A unique identifier of the role. |
nft_kit_id | Number | True | A unique identifier of the NFT kit. |
address | String | True | The account address that holds the permissions for the specified role. |
role | String | True | The name of the role. e.g. [ADMIN_ROLE, MANAGER_ROLE] |
role_hash | String | True | The Keccak-256 hash value of the role. |
has_role | Number | True | The role status. |
created_at | String | True | Moment when role request was created. |
updated_at | String | True | Moment when role request was updated. |