Responses

GET /admin/cognito/partner/{clientId}
curl \
 -X GET https://open-api.hml.soupi.com.br/admin/cognito/partner/{clientId} \
 -H "Authorization: $API_KEY"
Response examples (200)
{
  "UserPoolClient": {
    "UserPoolId": "string",
    "ClientName": "string",
    "ClientId": "string",
    "ClientSecret": "string",
    "LastModifiedDate": "2023-05-04T09:42:00+00:00",
    "CreationDate": "2023-05-04T09:42:00+00:00",
    "RefreshTokenValidity": 42.0,
    "TokenValidityUnits": {},
    "ExplicitAuthFlows": [
      "string"
    ],
    "AllowedOAuthFlows": [
      "string"
    ],
    "AllowedOAuthScopes": [
      "string"
    ],
    "AllowedOAuthFlowsUserPoolClient": true,
    "PreventUserExistenceErrors": "string",
    "EnableTokenRevocation": true
  }
}
Response examples (200)
{
  "UserPoolClient": {
    "UserPoolId": "string",
    "ClientName": "string",
    "ClientId": "string",
    "ClientSecret": "string",
    "LastModifiedDate": "2025-05-04T09:42:00Z",
    "CreationDate": "2025-05-04T09:42:00Z",
    "RefreshTokenValidity": 42.0,
    "TokenValidityUnits": {},
    "ExplicitAuthFlows": [
      "string"
    ],
    "AllowedOAuthFlows": [
      "string"
    ],
    "AllowedOAuthScopes": [
      "string"
    ],
    "AllowedOAuthFlowsUserPoolClient": true,
    "PreventUserExistenceErrors": "string",
    "EnableTokenRevocation": true
  }
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (400)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}
Response examples (401)
{
  "message": {},
  "data": {}
}
Response examples (422)
{
  "message": {},
  "data": {}
}
Response examples (422)
{
  "message": {},
  "data": {}
}