At the moment, it is mostly possible to manage contracts on the platform mostly via API calls. The following functions available through UI:
contracts.contract.edit
permission.For the next functions you need have contracts.membership.edit
permission or to be a user with TenantAdmin
role:
Of course, the functionality of contract management is not limited to this. However, it is only possible using the corresponding API calls. All functionality can be divided into 3 groups: getting Contract data, editing Contract memberships and editing Contracts.
With the right permissions a Contract member can get Contract data via the API. Namely, the following actions are available:
A Contract member with the corresponding permission can:
PLease Note:
- If a contract only has one member, which is the Owner, it is still possible to remove this member. However, this user also will be removed from the Platform completely if they are not a member of other contracts.
- It is not possible to remove the last Contract Owner, if there are still members in the Contract.
A Contract member with the corresponding permission can edit the Contract in the following ways:
As a contract owner, you can change the following attributes via API:
{
"data": {
"attributes": {
"name": "Your contract name"
}
}
}
{
"data": {
"attributes":{
"custom_data": {
"description": "Your contract description"
}
}
}
}
{
"data": {
"attributes":{
"available_roles": [
{
"scope": "contracts",
"role": "admin"
}
]
}
}
}
You can enable Recipe feature for separate contract.
{
"data": {
"attributes":{
"feature_flags": {
"disable_recipe_feature": true
}
}
}
}
You can enable subscription for flow errors by default.
{
"data": {
"attributes":{
"feature_flags":{
"subscribe_to_error_by_default": true
}
}
}
}
You can suspend contract. Which means stopping of all of its flows and inability of performing any actions with the Contract.
You can unsuspend contract. This is return contract in available state after suspending.