10.2. API endpoints
The following API endpoints are available:
/api/v1/serviceaccounts-
GET: list or watch objects of kind ServiceAccount
-
/api/v1/watch/serviceaccounts-
GET: watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.
-
/api/v1/namespaces/{namespace}/serviceaccounts-
DELETE: delete collection of ServiceAccount -
GET: list or watch objects of kind ServiceAccount -
POST: create a ServiceAccount
-
/api/v1/watch/namespaces/{namespace}/serviceaccounts-
GET: watch individual changes to a list of ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead.
-
/api/v1/namespaces/{namespace}/serviceaccounts/{name}-
DELETE: delete a ServiceAccount -
GET: read the specified ServiceAccount -
PATCH: partially update the specified ServiceAccount -
PUT: replace the specified ServiceAccount
-
/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}-
GET: watch changes to an object of kind ServiceAccount. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
-
10.2.1. /api/v1/serviceaccounts 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
- HTTP method
-
GET - Description
- list or watch objects of kind ServiceAccount
| HTTP code | Reponse body |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | Empty |