chore: correctly document SCIM authentication (#15234)

This commit is contained in:
Colin Adler
2024-10-25 12:40:13 -05:00
committed by GitHub
parent 900e2cd39c
commit 27f5ff2dd1
5 changed files with 30 additions and 16 deletions
+4 -4
View File
@@ -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}`