(userGUID, orgGUID string, role models.Role)
| 227 | } |
| 228 | |
| 229 | func (repo CloudControllerUserRepository) UnsetOrgRoleByGUID(userGUID, orgGUID string, role models.Role) (err error) { |
| 230 | path, err := userGUIDPath(repo.config.APIEndpoint(), userGUID, orgGUID, role) |
| 231 | if err != nil { |
| 232 | return |
| 233 | } |
| 234 | return repo.callAPI("DELETE", path, nil) |
| 235 | } |
| 236 | |
| 237 | func (repo CloudControllerUserRepository) UnsetOrgRoleByUsername(username, orgGUID string, role models.Role) error { |
| 238 | rolePath, err := rolePath(role) |
nothing calls this directly
no test coverage detected