-
Service Account Management: A service account is a special account object for use with webhooks management.
createServiceAccount
Creates a new ServiceAccount object. Use a service account when creating and managing webhooks sessions.
You must specify a serviceAccountName.
| Arguments | Descriptions |
|---|---|
serviceAccountName |
The service account name. Argument type: String |
description |
(Optional) Comment text describing this object that is not interpreted at all by CloudBees CD/RO . Argument type: String |
Response
Returns a serviceAccount object.
deleteServiceAccount
getServiceAccount
Retrieves a service account by its name.
You must specify the serviceAccountName object to retrieve.
| Arguments | Descriptions |
|---|---|
serviceAccountName |
The name of the service account to retrieve. Argument type: String |
Response
Returns a serviceAccount object.
getServiceAccounts
Retrieves all service accounts.
| Arguments | Descriptions |
|---|---|
None |
– |
Response
Returns zero or more serviceAccount objects.
modifyServiceAccount
You must specify a serviceAccountName.
| Arguments | Descriptions |
|---|---|
serviceAccountName |
The service account name to modify. Argument type: String |
description |
(Optional) Comment text describing this object that is not interpreted at all by CloudBees CD/RO . Argument type: String |
newName |
(Optional) New name for an existing service account that is being renamed. Argument type: String |
Response
Returns a serviceAccount object.