/editRoleForSwagger
1 min
POST
http://1.1.1.1/editRoleForSwagger
idstring<p>a random/unique UUID</p>
namestringthe name of the new role
frequencystring<p>the frequency at which the fees reset (0 for daily, 1 for weekly)</p>
is_adminbooleana boolean for if the role will allow users admin rights
is_transaction_approverbooleana boolean for if the role will allow users to approver transactions
is_contact_and_address_group_editorboolean<p>a boolean for if the role will allow users to edit contact and/or address groups</p>
is_multisig_transaction_approverbooleana boolean for if the role will allow users to approver multisig transactions
amount_limitstring<p>the amount in fiat, users are allowed to transact using this role for the desired frequency</p>
fees_limitstring<p>the amount in fees, users are allowed to transact using this role for the desired frequency</p>
user_idsarraydefines the users who are assigned to the role
session_idstringthe session id of the contract in string
administrative_message_numberintegerthe administrative message number
200success
curl --request POST \
--url 'http://1.1.1.1/editRoleForSwagger?id=2376234&name=Role%20name&frequency=0&is_admin=True&is_transaction_approver=False&is_contact_and_address_group_editor=True&is_multisig_transaction_approver=False&amount_limit=123&fees_limit=123&user_ids=array&session_id=3478593863424051983840947&administrative_message_number=5' \
--header 'accept: application/json'- Calling this request is used to create a new role in the MPC Driven system
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.