createUserAccessToken

On this page
Back to index

Summary

Generate personal access token for an authorized user.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
expirationDays
Integeroptional
Specify the number of days after which the user access token will expire.
userAccessTokenName
Stringoptional
The name of the user access token.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.createUserAccessToken( /* optional arguments */ )