# Create new auth credentials Endpoint: POST /users/{user_id}/auth-credentials Version: 1.0.0 Security: JWTtoken ## Path parameters: - `user_id` (string, required) ## Request fields (application/json): - `auth_type` (string, required) Example: "OAUTH_2" - `token_information` (object, required) - `token_information.access_token` (string, required) Example: "SOMETOKEN" - `token_information.refresh_token` (string, required) Example: "SOMETOKEN" ## Response 200 fields (application/json): - `user_id` (string, required) Example: "497f6eca-6276-4993-bfeb-53cbbbba6f08" - `auth_type` (string, required) - `token_information` (any, required) ## Response 422 fields (application/json): - `detail` (array) - `detail.loc` (array, required) - `detail.msg` (string, required) Example: "Something went wrong" - `detail.type` (string, required) Example: "Client Error"