public organizations ( string | null $status = null, string | null $name = null, integer | null $page = null, integer | null $per_page = null, string | null $order = null, string | null $direction = null, string | null $match = null ) | ||
$status | string | null | Whether or not the user is a member of the organization or has an inivitation pending |
$name | string | null | Organization Name |
$page | integer | null | Page number of paginated results |
$per_page | integer | null | Number of organizations per page |
$order | string | null | Field to order organizations by |
$direction | string | null | Direction to order organizations |
$match | string | null | Whether to match all search requirements or at least one (any) |
public function organizations($status = null, $name = null, $page = null, $per_page = null, $order = null, $direction = null, $match = null)
{
$data = ['status' => $status, 'name' => $name, 'page' => $page, 'per_page' => $per_page, 'order' => $order, 'direction' => $direction, 'match' => $match];
return $this->get('/user/organizations', $data);
}