Accounts
Account Management Operations
delete/api/v2/accounts/{id}/data
Delete all account data
Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample:
The ID of the account to delete data for
abcdef1234567890ghijklPattern: ^[a-zA-Z0-9_-]{22}$Responses
200
OK response.
application/json
statusstringRequiredExample:
Status
ok400
BadRequest: Bad Request response.
application/json
401
Unauthorized: Unauthorized response.
application/json
403
Forbidden: Forbidden response.
application/json
404
NotFound: Not Found response.
application/json
429
TooManyRequests: Too Many Requests response.
application/json
500
InternalServerError: Internal Server Error response.
application/json
delete/api/v2/accounts/{id}/data
DELETE /gateway/sto/api/v2/accounts/{id}/data HTTP/1.1
Host: app.harness.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"status": "ok"
}Last updated
Was this helpful?