Delete Service Account
Deletes a ServiceAccount. Warning: After you delete a service account, you might not be able to undelete it. If you know that you need to re-enable the service account in the future, use DisableServiceAccount instead. If you delete a service account, IAM permanently removes the service account 30 days later. Google Cloud cannot recover the service account after it is permanently removed, even if you file a support request. To help avoid unplanned outages, we recommend that you disable the service account before you delete it. Use DisableServiceAccount to disable the service account, then wait at least 24 hours and watch for unintended consequences. If there are no unintended consequences, you can delete the service account.
To learn more, visit the GCP documentation.
Parameters
Parameter | Description |
---|---|
Project ID | The name of the parent project to access.As an alternative, you can use the - wildcard character instead of the project ID.When possible, avoid using the - wildcard character because it can cause response messages to containmisleading error codes. For example, if you try to access the service account proejcts/-/serviceAccounts/fake@example.com,which does not exist, the response contains an HTTP 403 Forbidden error instead of a 404 Not Found error. |
Service Account ID | The resource name of the service account.Can either be a email address or it's unique ID.This information can be retrieved using the "List Service Accounts" action. |
Example Output
{}
Workflow Library Example
Delete Service Account with Gcp and Send Results Via Email