メインコンテンツへスキップ
GET
/
consents
List user consents
curl --request GET \
  --url https://{host}/me/v1/consents \
  --header 'Authorization: Bearer <token>'
{
  "consents": [
    {
      "id": "cns_abc123def456",
      "client_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "requested_details": {
        "binding_message": "<string>",
        "audience": "<string>",
        "scope": [
          "<string>"
        ]
      }
    }
  ]
}

承認

Authorization
string
header
必須

Bearer and DPoP tokens are supported depending on the API configuration

レスポンス

Successfully retrieved consents

consents
object[]
必須

List of consents for the authenticated user.