We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70f98a6 commit 84524d0Copy full SHA for 84524d0
site/src/api/api.ts
@@ -600,6 +600,9 @@ class ApiMethods {
600
return response.data;
601
};
602
603
+ /**
604
+ * @param organization Can be the organization's ID or name
605
+ */
606
patchOrganizationRole = async (
607
organization: string,
608
role: TypesGen.Role,
@@ -612,6 +615,9 @@ class ApiMethods {
612
615
613
616
614
617
618
619
620
621
deleteOrganizationRole = async (organization: string, roleName: string) => {
622
await this.axios.delete(
623
`/api/v2/organizations/${organization}/members/roles/${roleName}`,
0 commit comments