patch https://{applicationQualifiedDomain}.us.wristband.dev/api/v1/tenants/
Patches the specified tenant.
Required Permissions
Below is the list of required permissions needed to interact with this API. For each permission the allowed permission boundaries are also specified.
Permission | Boundary | Description |
---|---|---|
tenant:update | Application | The subject can update any tenant belonging to the application that the subject belongs to. |
Tenant | The subject can update the tenant that it is associated to. | |
Tenant Inclusion List | The subject can update the tenants specified in the inclusion list. | |
Tenant Exclusion List | The subject can update the tenant only if it belongs to the subject's application and it is not included in the exclusion list. | |
Self | The subject can update the tenant that it is associated to. |
Field Level Permissions
In addition to the aforementioned permissions, the following permissions are conditionally required depending on the fields being updated. The permission boundaries that apply to the tenant:update
permission also apply to the fied level permissions.
Permission | Condition |
---|---|
tenant:manage-signup-enablement | Required if the signupEnabled field is modified |
tenant:manage-restricted-metadata | Required if the restrictedMetadata field is modified |
tenant:manage-status | Required if the state field is modified |