Skip to main content
PUT
/
v1
/
users
/
api
/
clients
/
{client_id}
Update OAuth2 Client
curl --request PUT \
  --url https://api.aries.com/v1/users/api/clients/{client_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domains": [
    "<string>"
  ],
  "name": "<string>",
  "redirect_uris": [
    "<string>"
  ],
  "scopes": [
    "<string>"
  ]
}
'
{
  "client_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "domains": [
    "<string>"
  ],
  "last_used_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "redirect_uris": [
    "<string>"
  ],
  "scopes": [
    "<string>"
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

client_id
string
required

Client ID to update

Body

application/json
domains
string[]

List of allowed domains

name
string

Client name

redirect_uris
string[]

List of allowed redirect URIs

scopes
string[]

List of allowed scopes

Response

Client updated successfully

client_id
string

OAuth2 client ID

created_at
string<date-time>

Client creation timestamp

domains
string[]

List of allowed domains

last_used_at
string<date-time>

Last usage timestamp

name
string

Client name

redirect_uris
string[]

List of allowed redirect URIs

scopes
string[]

List of allowed scopes

updated_at
string<date-time>

Client last update timestamp