public function MoxtraService::deleteWorkspace in Opigno Moxtra 3.x
Same name and namespace in other branches
- 8 src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::deleteWorkspace()
Deletes workspace (Moxtra binder).
Parameters
int $owner_id: User ID.
string $binder_id: Binder ID.
Return value
array Response data.
Overrides MoxtraServiceInterface::deleteWorkspace
File
- src/
MoxtraService.php, line 405
Class
- MoxtraService
- Implements Moxtra REST API.
Namespace
Drupal\opigno_moxtraCode
public function deleteWorkspace($owner_id, $binder_id) {
$url = $this
->getDeleteBinderUrl($owner_id, $binder_id);
return $this->moxtraConnector
->request($url, [], 'DELETE');
}