Skip to main content
PUT
/
oauth-providers
/
{provider_id}
/
client-types
/
{client_type_id}
Update a client type for an Identity Provider
curl --request PUT \
  --url http://localhost:3001/portal-api/oauth-providers/{provider_id}/client-types/{client_type_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "Name": "Server-side application",
  "Description": "Use this client configuration to create server-side applications that don'\''t act on behalf of end-users",
  "ResponseTypes": "code,token",
  "GrantType": "authorization_code,refresh_token,password",
  "TokenEndpointAuthMethod": "client_secret_basic",
  "OktaAppType": "web"
}'
{
  "Name": "Server-side application",
  "Description": "Use this client configuration to create server-side applications that don't act on behalf of end-users",
  "ResponseTypes": "code,token",
  "GrantType": "authorization_code,refresh_token,password",
  "TokenEndpointAuthMethod": "client_secret_basic",
  "OktaAppType": "web",
  "ID": 1,
  "CreatedAt": "2023-06-25 13:37",
  "UpdatedAt": "2023-06-25 13:37"
}

Authorizations

Authorization
string
header
required

Path Parameters

provider_id
integer
required
Example:
client_type_id
integer
required
Example:

Body

application/json
Name
string
required
Examples:
ResponseTypes
enum<string>
required
Available options:
code,
token,
it_token,
none
Examples:
GrantType
enum<string>
required
Available options:
authorization_code,
pkce,
client_credentials,
device_code,
refresh_token,
password,
implicit
Examples:
Description
string
Examples:
TokenEndpointAuthMethod
enum<string>
Available options:
client_secret_basic,
client_secret_post
Examples:
OktaAppType
enum<string>
Available options:
web,
native,
browser,
service
Examples:

Response

Name
string
required
Examples:
ResponseTypes
enum<string>
required
Available options:
code,
token,
it_token,
none
Examples:
GrantType
enum<string>
required
Available options:
authorization_code,
pkce,
client_credentials,
device_code,
refresh_token,
password,
implicit
Examples:
Description
string
Examples:
TokenEndpointAuthMethod
enum<string>
Available options:
client_secret_basic,
client_secret_post
Examples:
OktaAppType
enum<string>
Available options:
web,
native,
browser,
service
Examples:
ID
integer
Examples:
CreatedAt
string
Examples:
UpdatedAt
string
Examples: