revokeToken

On this page
Back to index

Summary

Revokes a user's token. The API is deprecated. Use RevokeUserAccessToken instead.
This command is deprecated and will be removed in the future.
request
Stringrequired
This parameter and the value displayed are required; request=deleteToken must appear in your query string.
token
Stringoptional
The token.
userName
Stringoptional
User name.

Usage

Groovy

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