2.3. DELETE Service ostor-users¶
2.3.1. Description¶
Deletes the user specified by email or ID.
2.3.2. Requests¶
2.3.2.1. Syntax¶
DELETE /?ostor-users&emailAddress=<value> HTTP/1.1
Host: s3.amazonaws.com
Date: <date>
Authorization: <authorization_string>
2.3.2.2. Parameters¶
Parameter |
Description |
Required |
---|---|---|
|
User email address. Type: string. Default value: none. |
Yes* |
|
User ID. Type: string. Default value: none. |
Yes* |
* Only one of the required parameters can be set in a single request.
2.3.2.3. Headers¶
This implementation uses only common request headers.
2.3.3. Responses¶
2.3.3.1. Headers¶
This implementation uses only common response headers.
2.3.3.2. Body¶
Empty.
2.3.3.3. Errors¶
Returns Error Code 400
, if more than one required parameter is set.
Note
If a user is successfully deleted, Status204NoContent
is returned.
2.3.4. Examples¶
2.3.4.1. Sample Request¶
Deletes the user with the email test@test.test
.
DELETE /?ostor-users&emailAddress=test@test.test HTTP/1.1
Host: s3.amazonaws.com
Date: Wed, 30 Apr 2016 22:32:00 GMT
Authorization: <authorization_string>
2.3.4.2. Sample Response¶
HTTP/1.1 203 No Content
x-amz-req-time-micros : 172807
Server : nginx/1.8.1
Connection : closed
x-amz-request-id : 80000000000000030005c8ca5862476a
Date : Wed, 30 Apr 2016 22:32:03 GMT
Content-type : application/xml
Version 7.0.5 — Feb 25, 2022