The identifier of the organization.
Delete an organization
DELETE
/user/v1/organizations/{organizationId}Delete specified organization.
Returns
No response data.
curl https://api.userhub.com/user/v1/organizations/org_28seyVGVL1got6 \
-H "UserHub-Api-Key: $USERHUB_USER_KEY" \
-H "Authorization: Bearer $USER_ACCESS_TOKEN" \
-X DELETE
const res = await userApi.organizations.delete(
"org_28seyVGVL1got6",
);
res, err := userApi.Organizations().Delete(
context.Background(),
"org_28seyVGVL1got6",
nil,
)
$res = $userApi->organizations->delete(
organizationId: 'org_28seyVGVL1got6',
);
res = user_api.organizations.delete(
organization_id="org_28seyVGVL1got6",
)