Skip to content
Skip to Content
Coder Docs

Get the available idp sync claim fields

GET
/api/v2/settings/idpsync/available-fields

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Response Body

OK

application/json
  1. response
[index: integer]?string

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X GET \	"$CODER_URL/api/v2/settings/idpsync/available-fields" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response200
[  "string"]