github.com/opentelekomcloud/gophertelekomcloud@v0.9.3/openstack/swr/v2/organizations/DeletePermissions.go (about)

     1  package organizations
     2  
     3  import "github.com/opentelekomcloud/gophertelekomcloud"
     4  
     5  func DeletePermissions(client *golangsdk.ServiceClient, organization string, userID string) (err error) {
     6  	// DELETE /v2/manage/namespaces/{namespace}/access
     7  	_, err = client.DeleteWithBody(client.ServiceURL("manage", "namespaces", organization, "access"), []interface{}{userID}, nil)
     8  	return
     9  }