Метод | Описание | |
---|---|---|
details ( string $identifier ) | Organization details (permission needed: #organizations:read) Get a specific organization the user is associated with | |
leave ( string $identifier ) | Leave organization (permission needed: #organizations:edit) Remove association to an organization | |
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 ) | List organizations (permission needed: #organizations:read) List organizations the user is associated with |
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) |