mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
chore: correctly document SCIM authentication (#15234)
This commit is contained in:
Generated
+4
-4
@@ -2014,7 +2014,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
|
||||
```shell
|
||||
# Example request using curl
|
||||
curl -X GET http://coder-server:8080/api/v2/scim/v2/Users \
|
||||
-H 'Coder-Session-Token: API_KEY'
|
||||
-H 'Authorizaiton: API_KEY'
|
||||
```
|
||||
|
||||
`GET /scim/v2/Users`
|
||||
@@ -2036,7 +2036,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
|
||||
curl -X POST http://coder-server:8080/api/v2/scim/v2/Users \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Accept: application/json' \
|
||||
-H 'Coder-Session-Token: API_KEY'
|
||||
-H 'Authorizaiton: API_KEY'
|
||||
```
|
||||
|
||||
`POST /scim/v2/Users`
|
||||
@@ -2118,7 +2118,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
|
||||
```shell
|
||||
# Example request using curl
|
||||
curl -X GET http://coder-server:8080/api/v2/scim/v2/Users/{id} \
|
||||
-H 'Coder-Session-Token: API_KEY'
|
||||
-H 'Authorizaiton: API_KEY'
|
||||
```
|
||||
|
||||
`GET /scim/v2/Users/{id}`
|
||||
@@ -2146,7 +2146,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio
|
||||
curl -X PATCH http://coder-server:8080/api/v2/scim/v2/Users/{id} \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Accept: application/scim+json' \
|
||||
-H 'Coder-Session-Token: API_KEY'
|
||||
-H 'Authorizaiton: API_KEY'
|
||||
```
|
||||
|
||||
`PATCH /scim/v2/Users/{id}`
|
||||
|
||||
Reference in New Issue
Block a user