---
updatedAt: 2026-05-21T16:40:38.000Z
---

# Deprecated - Retrieves a specific OIDC consent.

Deprecated: This API is deprecated and will be removed after June 2022. Migrate OIDC applications to Advanced consent type and start using the Data Privacy and Consent Management APIs.<br> Retrieves a specific OIDC or OAuth consent from an OIDC application that the user owns.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "version": "1.0.0",
    "description": "Deprecated APIs",
    "title": "Deprecated APIs"
  },
  "servers": [
    {
      "url": "https://{tenanturl}",
      "variables": {
        "tenanturl": {
          "default": "{tenant_url}",
          "description": "URL of your IBM Security Verify tenant"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "OpenID Connect Consent Management (deprecated)"
    }
  ],
  "paths": {
    "/v1.0/appconsents/{id}": {
      "get": {
        "tags": [
          "OpenID Connect Consent Management (deprecated)"
        ],
        "summary": "Deprecated - Retrieves a specific OIDC consent.",
        "description": "Deprecated: This API is deprecated and will be removed after June 2022. Migrate OIDC applications to Advanced consent type and start using the Data Privacy and Consent Management APIs.<br> Retrieves a specific OIDC or OAuth consent from an OIDC application that the user owns.",
        "operationId": "readConsent",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Consent identifier",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The consent was returned.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/USCConsent"
                }
              }
            }
          },
          "403": {
            "description": "Access is forbidden.",
            "content": {}
          },
          "404": {
            "description": "The consent was not found.",
            "content": {}
          },
          "500": {
            "description": "An internal server error occurred.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorBean2"
                }
              }
            }
          }
        },
        "x-category": "Deprecated APIs",
        "x-publicAPI": "true"
      }
    }
  },
  "components": {
    "schemas": {
      "USCConsent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The consent identifier.",
            "readOnly": true,
            "example": "52a3374e-604b-4d8a-bedb-a51ceb96389b"
          },
          "appId": {
            "type": "string",
            "description": "The application ID. For API client grants, this property is null.",
            "readOnly": true,
            "example": "2919856898870752436"
          },
          "category": {
            "type": "string",
            "description": "The category of the OIDC client.",
            "readOnly": true,
            "enum": [
              "application",
              "api_client",
              "ibm_verify",
              "default"
            ]
          },
          "clientId": {
            "type": "string",
            "description": "The API client's or OIDC application's client ID.",
            "readOnly": true,
            "example": "6f1bdd22-eb94-456d-b2c3-ae97181053a3"
          },
          "clientName": {
            "type": "string",
            "description": "The OIDC application name or API client name.",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "description": "The name of the user. For API client grants, this value is null.",
            "readOnly": true
          },
          "preferred_username": {
            "type": "string",
            "description": "The preferred user name. For API client grants, this value is null.",
            "readOnly": true
          },
          "realmName": {
            "type": "string",
            "description": "The realm name.",
            "readOnly": true,
            "example": "cloudIdentityRealm"
          },
          "username": {
            "type": "string",
            "description": "The user's unique ID. For API client grants, this value is the client ID.",
            "readOnly": true
          },
          "entitlements": {
            "uniqueItems": true,
            "type": "array",
            "description": "The list of entitlements that were consented.",
            "items": {
              "type": "string"
            }
          },
          "entitlementLabels": {
            "uniqueItems": true,
            "type": "array",
            "description": "The list of entitlement labels that were consented.",
            "items": {
              "type": "string"
            }
          },
          "scopes": {
            "uniqueItems": true,
            "type": "array",
            "description": "The list of scopes that were consented.",
            "items": {
              "type": "string"
            }
          },
          "issuedOn": {
            "type": "string",
            "description": "The time when the consent was issued.",
            "readOnly": true,
            "example": "2018-06-20T02:04:58Z"
          },
          "lastUsed": {
            "type": "string",
            "description": "The time when the consent was last used.",
            "readOnly": true,
            "example": "2018-06-20T02:05:58Z"
          },
          "readOnly": {
            "type": "boolean",
            "description": "Flag to indicate the consent is only viewable or can be modified.",
            "readOnly": true
          }
        }
      },
      "ErrorBean2": {
        "type": "object",
        "properties": {
          "messageId": {
            "type": "string",
            "description": "The message key identifier.",
            "readOnly": true
          },
          "messageDescription": {
            "type": "string",
            "description": "A requester locale specific descriptive message.",
            "readOnly": true
          }
        }
      }
    }
  },
  "x-original-swagger-version": "2.0",
  "x-explorer-enabled": false
}
```