mirror of
https://github.com/docker/docs.git
synced 2026-11-05 00:14:17 +03:00
DTR-939: all DELETE verbs report 204-success based on final state, not on verb action
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -294,7 +294,7 @@ Client must be authenticated as a system 'admin' user.
|
||||
Example Request:
|
||||
|
||||
```http
|
||||
POST /api/v0/accounts/alice/changePassword HTTP/1.1
|
||||
POST /api/v0/accounts/alice/changePassword HTTP/1.1
|
||||
Content-Type: application/json
|
||||
|
||||
```
|
||||
|
||||
@@ -203,4 +203,4 @@ level access to the organization's repository).
|
||||
**Status Codes**
|
||||
|
||||
- *403* the client is not authorized.
|
||||
- *204* success.
|
||||
- *204* (`No Content`) success - or repository does not exist.
|
||||
|
||||
@@ -219,6 +219,5 @@ repository.
|
||||
- *403* the client is not authorized.
|
||||
- *204* (`No Content`) success - or team is not in the access list or there is no such team in the organization.
|
||||
- *400* the repository is not owned by an organiztion.
|
||||
- *400* the team does not belong to the owning organization.
|
||||
- *403* the client is not authorized.
|
||||
- *200* success.
|
||||
- *204* (`No Content`) success - or team is not in the access list or there is no such team in the organization.
|
||||
|
||||
@@ -197,6 +197,5 @@ namespace.
|
||||
- *403* the client is not authorized.
|
||||
- *204* (`No Content`) success - or team does not exist in the access list or there is no such team in the organization.
|
||||
- *400* the repository is not owned by an organization.
|
||||
- *400* the team does not belong to the owning organization.
|
||||
- *403* the client is not authorized.
|
||||
- *200* success.
|
||||
- *204* (`No Content`) success - or team does not exist in the access list or there is no such team in the organization.
|
||||
|
||||
@@ -284,7 +284,7 @@ team in the organization.
|
||||
```
|
||||
|
||||
**Authorization**
|
||||
|
||||
|
||||
Client must be authenticated as a system admin or a member of the "owners"
|
||||
team in the organization.
|
||||
|
||||
@@ -302,4 +302,4 @@ team in the organization.
|
||||
**Status Codes**
|
||||
|
||||
- *403* the client is not authorized.
|
||||
- *204* success.
|
||||
- *204* (`No Content`) success - or team does not exist.
|
||||
|
||||
@@ -155,4 +155,4 @@ repository.
|
||||
- *204* (`No Content`) success - or user is not in the access list.
|
||||
- *400* the repository is not owned by a user.
|
||||
- *403* the client is not authorized.
|
||||
- *204* (no content) success.
|
||||
- *204* (`No Content`) success - or user is not in the access list.
|
||||
|
||||
Reference in New Issue
Block a user