getAccessTokens

On this page
Back to index

Summary

Returns access tokens for a service account with associated trigger details.
serviceAccountName
Stringrequired
The service account name.
filters
Array<Filter>optional
A list of zero or more filter criteria definitions used to define objects to find.
firstResult
Integeroptional
Result pagination: the first row to return.
maxResults
Integeroptional
Result pagination: the number of rows to return.
sortKey
Stringoptional
How to sort the results.
sortOrder
Stringoptional
Specifies the order to sort the results.
Possible values: "ascending", "descending"

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getAccessTokens( serviceAccountName: "test-serviceAccountName" /* optional arguments */ )