(roleId: string)
| 52 | .json<Role>(); |
| 53 | |
| 54 | export const deleteRole = async (roleId: string) => authedAdminApi.delete(`roles/${roleId}`); |
| 55 | |
| 56 | export const getRoleScopes = async (roleId: string) => |
| 57 | authedAdminApi.get(`roles/${roleId}/scopes`).json<Scope[]>(); |