protected function MoxtraService::getDeleteBinderUrl in Opigno Moxtra 3.x
Same name and namespace in other branches
- 8 src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::getDeleteBinderUrl()
Returns URL to delete the binder.
Parameters
int $owner_id: User ID.
string $binder_id: Binder ID.
Return value
string URL.
1 call to MoxtraService::getDeleteBinderUrl()
- MoxtraService::deleteWorkspace in src/
MoxtraService.php - Deletes workspace (Moxtra binder).
File
- src/
MoxtraService.php, line 135
Class
- MoxtraService
- Implements Moxtra REST API.
Namespace
Drupal\opigno_moxtraCode
protected function getDeleteBinderUrl($owner_id, $binder_id) {
$token = $this->moxtraConnector
->getToken($owner_id);
return $this->moxtraConnector
->getUrl() . "/v1/{$binder_id}?access_token={$token}";
}