PersonalAccessTokensApi class
Methods
-
createPersonalAccessToken(CreatePATRequest createPATRequest)
→ Future<CreatePATResponse?>
-
Create a new PAT. The full token is returned only once on creation; the API never reveals the secret again.
-
createPersonalAccessTokenWithHttpInfo(CreatePATRequest createPATRequest)
→ Future<Response>
-
Create a new PAT. The full token is returned only once on creation; the API never reveals the secret again.
-
listAvailablePATScopes()
→ Future<PATScopesResponse?>
-
List the scope strings PATs can be issued with.
-
listAvailablePATScopesWithHttpInfo()
→ Future<Response>
-
List the scope strings PATs can be issued with.
-
listPersonalAccessTokens()
→ Future<PATListResponse?>
-
List the caller's personal access tokens (with available scopes).
-
listPersonalAccessTokensWithHttpInfo()
→ Future<Response>
-
List the caller's personal access tokens (with available scopes).
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
revokePersonalAccessToken(String id)
→ Future<void>
-
Revoke a PAT.
-
revokePersonalAccessTokenWithHttpInfo(String id)
→ Future<Response>
-
Revoke a PAT.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updatePersonalAccessToken(String id, UpdatePATRequest updatePATRequest)
→ Future<PersonalAccessToken?>
-
Rename or re-describe a PAT (scopes are immutable).
-
updatePersonalAccessTokenWithHttpInfo(String id, UpdatePATRequest updatePATRequest)
→ Future<Response>
-
Rename or re-describe a PAT (scopes are immutable).
-
workspaceCreatePAT(String org, String workspace, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Parameters:
-
workspaceCreatePATWithHttpInfo(String org, String workspace, Map<String, Object> requestBody)
→ Future<Response>
-
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/tokens' operation and returns the
Response.
Parameters:
-
workspaceListPATs(String org, String workspace)
→ Future<Map<String, Object>?>
-
Parameters:
-
workspaceListPATsWithHttpInfo(String org, String workspace)
→ Future<Response>
-
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/tokens' operation and returns the
Response.
Parameters:
-
workspaceRevokePAT(String org, String workspace, String id)
→ Future<void>
-
Parameters:
-
workspaceRevokePATWithHttpInfo(String org, String workspace, String id)
→ Future<Response>
-
Performs an HTTP 'DELETE /v1/organizations/{org}/workspaces/{workspace}/tokens/{id}' operation and returns the
Response.
Parameters:
-
workspaceUpdatePAT(String org, String workspace, String id, Map<String, Object> requestBody)
→ Future<Map<String, Object>?>
-
Parameters:
-
workspaceUpdatePATWithHttpInfo(String org, String workspace, String id, Map<String, Object> requestBody)
→ Future<Response>
-
Performs an HTTP 'PATCH /v1/organizations/{org}/workspaces/{workspace}/tokens/{id}' operation and returns the
Response.
Parameters: