You are here

protected function MoxtraService::getDeleteMeetingUrl in Opigno Moxtra 3.x

Same name and namespace in other branches
  1. 8 src/MoxtraService.php \Drupal\opigno_moxtra\MoxtraService::getDeleteMeetingUrl()

Returns URL to delete a meeting.

Parameters

int $owner_id: User ID.

string $session_key: Session key of the Live Meeting.

Return value

string URL.

1 call to MoxtraService::getDeleteMeetingUrl()
MoxtraService::deleteMeeting in src/MoxtraService.php
Deletes meeting.

File

src/MoxtraService.php, line 245

Class

MoxtraService
Implements Moxtra REST API.

Namespace

Drupal\opigno_moxtra

Code

protected function getDeleteMeetingUrl($owner_id, $session_key) {
  $token = $this->moxtraConnector
    ->getToken($owner_id);
  return $this->moxtraConnector
    ->getUrl() . "/v1/meets/{$session_key}?access_token={$token}";
}