Skip to main content
PUT
/
v1
/
users
/
api
/
clients
/
{client_id}
Java (SDK)
package hello.world;

import java.lang.Exception;
import org.openapis.openapi.AriesJava;
import org.openapis.openapi.models.errors.ErrorResponse;
import org.openapis.openapi.models.operations.UpdateUserApiClientRequestBody;
import org.openapis.openapi.models.operations.UpdateUserApiClientResponse;

public class Application {

    public static void main(String[] args) throws ErrorResponse, Exception {

        AriesJava sdk = AriesJava.builder()
                .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
            .build();

        UpdateUserApiClientResponse res = sdk.clients().updateApiClient()
                .clientId("<id>")
                .body(UpdateUserApiClientRequestBody.builder()
                    .build())
                .call();

        if (res.object().isPresent()) {
            // handle response
        }
    }
}
{
  "client_id": "<string>",
  "name": "<string>",
  "scopes": [
    "<string>"
  ],
  "redirect_uris": [
    "<string>"
  ],
  "domains": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "last_used_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://finance.dev/llms.txt

Use this file to discover all available pages before exploring further.

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
name
string

Client name

scopes
string[]

List of allowed scopes

redirect_uris
string[]

List of allowed redirect URIs

domains
string[]

List of allowed domains

Response

Client updated successfully

client_id
string

OAuth2 client ID

name
string

Client name

scopes
string[]

List of allowed scopes

redirect_uris
string[]

List of allowed redirect URIs

domains
string[]

List of allowed domains

created_at
string<date-time>

Client creation timestamp

updated_at
string<date-time>

Client last update timestamp

last_used_at
string<date-time>

Last usage timestamp