1 | <?php |
||
14 | class Organizations extends Api |
||
15 | { |
||
16 | /** |
||
17 | * Organization details (permission needed: #organization:read) |
||
18 | * Get information about a specific organization that you are a member of |
||
19 | * |
||
20 | * @param string $identifier |
||
21 | */ |
||
22 | public function organization($identifier) |
||
23 | { |
||
24 | return $this->get('/organizations/'.$identifier); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Update organization (permission needed: #organization:edit) |
||
29 | * Update an existing Organization |
||
30 | * |
||
31 | * @param string|null $identifier |
||
32 | * @param string|null $name Organization Name |
||
33 | */ |
||
34 | public function update($identifier = null, $name = null) |
||
42 | } |
||
43 |