Delete a user account. Only the logged-in user can perform this operation.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Authorize URL: https://auth.petstoreapi.com/authorize
Token URL: https://auth.petstoreapi.com/token
Refresh URL: https://auth.petstoreapi.com/refresh
or
Add the parameter Authorization
to Headers Example:Authorization: ********************
or
Responses
Resource deleted successfully
This response does not have a body.
curl --location --request DELETE '/users/user_abc123xyz'
Modified at 2025-12-17 08:25:04