For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Update an OAuth client.
secret key.UpdateOAuthClient. redirectURIs and grantTypes replace the current lists.The ID of the OAuth client to update.
The fields to change.
let client = try await admin.oauth.updateClient(
id: UUID(uuidString: "12345678-1234-1234-1234-123456789012")!,
UpdateOAuthClient(
clientName: "My Renamed App",
redirectURIs: [URL(string: "https://example.com/new-callback")!]
)
)