File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1052,11 +1052,20 @@ curl https://shuffler.io/api/v1/orgs -H "Authorization: Bearer APIKEY"
10521052Deletes an organization. Only possible for sub-organizations.
10531053
10541054** This requires you to have already removed all workflows, and will NOT clean up all the data in the database until it expires (3 months~ )**
1055+ ** Only ** admins of the parent organization** can delete a sub-organization.**
10551056
10561057Methods: DELETE
10571058
10581059``` bash
1059- curl -XDELETE https://shuffler.io/api/v1/orgs/{org_id} -H " Authorization: Bearer APIKEY"
1060+ curl -XDELETE https://shuffler.io/api/v1/orgs/{parent_org_id} -H " Authorization: Bearer APIKEY"
1061+ ```
1062+
1063+ ### Request Body
1064+
1065+ ``` json
1066+ {
1067+ "suborg_id" : " YOUR_SUBORG_ID_TO_DELETE"
1068+ }
10601069```
10611070
10621071** Success response**
You can’t perform that action at this time.
0 commit comments