5 title: "api_client_authorizations"
9 Copyright (C) The Arvados Authors. All rights reserved.
11 SPDX-License-Identifier: CC-BY-SA-3.0
14 API endpoint base: @https://{{ site.arvados_api_host }}/arvados/v1/api_client_authorizations@
18 Example UUID: @zzzzz-gj3su-0123456789abcde@
22 The @api_client_authorizations@ resource stores the API tokens that have been issued to permit access the API server.
24 An ApiClientAuthorization is *not* a generic Arvados resource. The full list of properties that belong to an ApiClientAuthorization is:
26 table(table table-bordered table-condensed).
27 |_. Attribute|_. Type|_. Description|_. Example|
28 |uuid|string|An identifier used to refer to the token without exposing the actual token.||
29 |api_token|string|The actual token string that is expected in the Authorization header.||
30 |api_client_id|integer|-||
32 |created_by_ip_address|string|-||
33 |last_used_by_ip_address|string|The network address of the most recent client using this token.||
34 |last_used_at|datetime|Timestamp of the most recent request using this token.||
35 |expires_at|datetime|Time at which the token is no longer valid. May be set to a time in the past in order to immediately expire a token.||
36 |owner_uuid|string|The user associated with the token. All operations using this token are checked against the permissions of this user.||
37 |scopes|array|A list of resources this token is allowed to access. A scope of ["all"] allows all resources. See "API Authorization":{{site.baseurl}}/api/tokens.html#scopes for details.||
41 See "Common resource methods":{{site.baseurl}}/api/methods.html for more information about @create@, @delete@, @get@, @list@, and @update@.
43 Required arguments are displayed in %{background:#ccffcc}green%.
47 Create a new ApiClientAuthorization.
49 Regular users may only create self-owned API tokens, but may provide a restricted "scope":{{site.baseurl}}/api/tokens.html#scopes . Administrators may create API tokens corresponding to any user.
53 table(table table-bordered table-condensed).
54 |_. Argument |_. Type |_. Description |_. Location |_. Example |
55 |api_client_authorization|object||query||
57 h3. create_system_auth
59 create_system_auth api_client_authorizations
63 table(table table-bordered table-condensed).
64 |_. Argument |_. Type |_. Description |_. Location |_. Example |
65 |api_client_id|integer||query||
66 |scopes|array||query||
70 Delete an existing ApiClientAuthorization.
74 table(table table-bordered table-condensed).
75 |_. Argument |_. Type |_. Description |_. Location |_. Example |
76 {background:#ccffcc}.|uuid|string|The UUID of the ApiClientAuthorization in question.|path||
80 Gets an ApiClientAuthorization's metadata by UUID.
84 table(table table-bordered table-condensed).
85 |_. Argument |_. Type |_. Description |_. Location |_. Example |
86 {background:#ccffcc}.|uuid|string|The UUID of the ApiClientAuthorization in question.|path||
90 List api_client_authorizations.
92 See "common resource list method.":{{site.baseurl}}/api/methods.html#index
96 Update attributes of an existing ApiClientAuthorization.
100 table(table table-bordered table-condensed).
101 |_. Argument |_. Type |_. Description |_. Location |_. Example |
102 {background:#ccffcc}.|uuid|string|The UUID of the ApiClientAuthorization in question.|path||
103 |api_client_authorization|object||query||