Delete Service Account

Version 4.0.26.0 (latest)

Delete the service account with a specific id.

This action cannot be undone. If you want to keep the service account's content, we recommend disabling their accounts instead of deleting them.

Deletion will have the following impact:

  • Their reports, Looks and dashboards will be moved to Trash.
  • Any public URLs owned by them will no longer work.
  • Schedules created by the service account or that use their content will be deleted.
  • Alerts will continue to run, but will not be visible or editable from the dashboard.

The service account cannot delete itself.

Request

DELETE /users/service_accounts/{user_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
user_id
string
Id of service account user

Response

204: Service Account successfully deleted.

Datatype
Description
(string)
string

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

403: Permission Denied

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link