/api/v1/get-role-limitGet a role's limit
Returns the spending limit and reset cycle configured on one role in a workspace, along with the role's name.
MANAGE_ROLEA role limit caps what each member holding that role can move in a cycle,
separately from the limit on the vault the value comes from. This call reports
the policy as configured: Limit is the amount, CyclePeriod is W for weekly
or M for monthly, and CycleDay is the day of the week or the day of the month
the counter resets on. Roles are workspace-scoped, so pass the workspace the role
belongs to: see
Roles and permissions.
Usage is not part of this response. For what a single member has spent against
the limit, read the member list with
GET /api/v1/get-users-from-workspace, or, for
your own figures, GET /api/v1/get-my-limits. To test one
amount for one member, use
GET /api/v1/check-user-role-limit; to change the
policy, use
POST /api/v1/update-role-policies.
role_idnumberrequiredworkspace_idnumberrequired