diff --git a/coderd/apidoc/docs.go b/coderd/apidoc/docs.go index 802efa3edf..10bcead80d 100644 --- a/coderd/apidoc/docs.go +++ b/coderd/apidoc/docs.go @@ -29983,7 +29983,7 @@ const docTemplate = `{ }, "Authorization": { "type": "apiKey", - "name": "Authorizaiton", + "name": "Authorization", "in": "header" }, "CoderSessionToken": { diff --git a/coderd/apidoc/swagger.json b/coderd/apidoc/swagger.json index 183fed338e..45f4da4f2f 100644 --- a/coderd/apidoc/swagger.json +++ b/coderd/apidoc/swagger.json @@ -27675,7 +27675,7 @@ }, "Authorization": { "type": "apiKey", - "name": "Authorizaiton", + "name": "Authorization", "in": "header" }, "CoderSessionToken": { diff --git a/coderd/coderd.go b/coderd/coderd.go index 45bff9e2b6..d1bcf883e7 100644 --- a/coderd/coderd.go +++ b/coderd/coderd.go @@ -351,7 +351,7 @@ type Options struct { // @securitydefinitions.apiKey Authorization // @in header -// @name Authorizaiton +// @name Authorization // @securitydefinitions.apiKey CoderSessionToken // @in header diff --git a/docs/reference/api/enterprise.md b/docs/reference/api/enterprise.md index 37e1d852ab..8b6b252d19 100644 --- a/docs/reference/api/enterprise.md +++ b/docs/reference/api/enterprise.md @@ -5182,7 +5182,7 @@ curl -X GET http://coder-server:8080/scim/v2/ServiceProviderConfig ```sh # Example request using curl curl -X GET http://coder-server:8080/scim/v2/Users \ - -H 'Authorizaiton: API_KEY' + -H 'Authorization: API_KEY' ``` `GET /scim/v2/Users` @@ -5204,7 +5204,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio curl -X POST http://coder-server:8080/scim/v2/Users \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ - -H 'Authorizaiton: API_KEY' + -H 'Authorization: API_KEY' ``` `POST /scim/v2/Users` @@ -5294,7 +5294,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio ```sh # Example request using curl curl -X GET http://coder-server:8080/scim/v2/Users/{id} \ - -H 'Authorizaiton: API_KEY' + -H 'Authorization: API_KEY' ``` `GET /scim/v2/Users/{id}` @@ -5322,7 +5322,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio curl -X PUT http://coder-server:8080/scim/v2/Users/{id} \ -H 'Content-Type: application/json' \ -H 'Accept: application/scim+json' \ - -H 'Authorizaiton: API_KEY' + -H 'Authorization: API_KEY' ``` `PUT /scim/v2/Users/{id}` @@ -5414,7 +5414,7 @@ To perform this operation, you must be authenticated. [Learn more](authenticatio curl -X PATCH http://coder-server:8080/scim/v2/Users/{id} \ -H 'Content-Type: application/json' \ -H 'Accept: application/scim+json' \ - -H 'Authorizaiton: API_KEY' + -H 'Authorization: API_KEY' ``` `PATCH /scim/v2/Users/{id}`