We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395
still has access to your repository or
update the API account.
1 | <?php |
||
22 | class SshKeys extends Api |
||
23 | { |
||
24 | /** |
||
25 | * Gets a list of the keys associated with an account. |
||
26 | * |
||
27 | * @access public |
||
28 | * @param string $account The name of an individual or team account. |
||
29 | * @return ResponseInterface |
||
30 | */ |
||
31 | 1 | public function all($account) |
|
37 | |||
38 | /** |
||
39 | * Create a key on the specified account. |
||
40 | * |
||
41 | * @access public |
||
42 | * @param string $account The name of an individual or team account. |
||
43 | * @param string $key The key value. |
||
44 | * @param string $label A label for the key. (optional) |
||
45 | * @return ResponseInterface |
||
46 | */ |
||
47 | 1 | public function create($account, $key, $label = null) |
|
60 | |||
61 | /** |
||
62 | * Updates a key on the specified account. |
||
63 | * |
||
64 | * @access public |
||
65 | * @param string $account The name of an individual or team account. |
||
66 | * @param int $keyId Key identifier. |
||
67 | * @param string $key The key value. |
||
68 | * @return ResponseInterface |
||
69 | */ |
||
70 | 1 | public function update($account, $keyId, $key) |
|
77 | |||
78 | /** |
||
79 | * Gets the content of the specified keyId. |
||
80 | * |
||
81 | * @access public |
||
82 | * @param string $account The name of an individual or team account. |
||
83 | * @param int $keyId Key identifier. |
||
84 | * @return ResponseInterface |
||
85 | */ |
||
86 | 1 | public function get($account, $keyId) |
|
92 | |||
93 | /** |
||
94 | * Deletes the key specified by the keyId value |
||
95 | * |
||
96 | * @access public |
||
97 | * @param string $account The name of an individual or team account. |
||
98 | * @param int $keyId Key identifier. |
||
99 | * @return ResponseInterface |
||
100 | */ |
||
101 | 1 | public function delete($account, $keyId) |
|
107 | } |
||
108 |