Skip to Content
Xeonr Developer Docs

Validate an OAuth client for integration

POST
/uplim.api.v1.IntegrationAdminService/ValidateIntegrationClient

Checks the OAuth client is configured correctly for upl integration.

Required scopes: upl:private

Authorization

OAuth2 upl:private
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:private

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

clientId?string
Formatuuid
ownerScope?||

Validate the client for registration under this owner. In team scope the client must belong to an auth application that team owns, and the caller must hold the upl admin role there. Omitted or personal: the caller must own the client, as before.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/ValidateIntegrationClient" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "ok": "false",
  "isInternalDelegator": "false",
  "issues": [
    "map[code:INTEGRATION_CLIENT_ISSUE_CODE_MISSING_REQUIRED_DELEGATOR delegatorClientId:d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a message:Client is missing required delegator d1e2f3a4-b5c6-4d7e-8f9a-0b1c2d3e4f5a. severity:INTEGRATION_CLIENT_ISSUE_SEVERITY_ERROR]"
  ]
}