modifyServiceAccount

Back to index

Summary

Modifies a service account.
serviceAccountName
Stringrequired
The service account name.
description
Stringoptional
Comment text describing this object that is not interpreted at all by CloudBees CD/RO.
newName
Stringoptional
The new name for an existing object that is being renamed.

Usage

Perl

$cmdr->modifyServiceAccount( "test-serviceAccountName" # serviceAccountName # optionals );

ectool

ectool modifyServiceAccount \ "test-serviceAccountName" `# serviceAccountName` \ # optionals

Examples

Perl

$cmdr->modifyServiceAccount("Test", {newName => "NewTest"});

ectool

ectool modifyServiceAccount "Test" --newName "NewTest"