Delete a service account
Permissions
This action requires the following IAM (Identity and Access Management) permissions:
- iam.serviceAccount.delete
- Console
- API
- Terraform

-
Log in to the Numspot console
-
From the left-hand side menu, click IAM → Service accounts
-
You are redirected to the list of Service accounts
-
Click the "Actions" drop-down menu of the relevant service account, then click Delete.
-
A dialog box appears. In the corresponding field, type the name of the service account.
-
Click the Delete button to confirm the deletion of the service account.
You can also delete the service account from its details page by clicking Delete the Service account.
- A confirmation message appears at the bottom indicating that the service account has been deleted.
Delete a service account in an organization
Example with curl
curl 'https://api.{region}.numspot.com/iam/organisations/{organisationId}/serviceAccounts/{serviceAccountId}' \
--request DELETE
Response:
code 204 : No content
See the page on using the API for the implementation.
Delete a service account in a space
Example with curl
curl 'https://api.{region}.numspot.com/iam/spaces/{spaceId}/serviceAccounts/{serviceAccountId}' \
--request DELETE
Response:
code 204 : No content
See the page on using the API for the implementation.
The Terraform documentation is available on the Numspot registry ↗.