프로필 끝점

Reactor API에서 프로필은 Adobe Experience Platform 사용자를 나타냅니다. Reactor API는 자체 사용자 및 사용 권한 데이터베이스를 유지 관리하지 않으며 대신 Adobe의 IMS(ID 관리 시스템)에서 관리하는 Adobe ID를 사용합니다.

프로필에는 로그인한 사용자가 속한 모든 조직, 각 조직 내에 속한 제품 프로필 및 각 제품 프로필에서 부여한 권한을 비롯하여 로그인한 사용자에 대한 모든 정보가 포함되어 있습니다.

시작하기

이 가이드에 사용된 끝점은 Reactor API의 일부입니다. 계속하기 전에 시작 안내서에서 API 인증 방법에 대한 중요한 정보를 검토하십시오.

현재 프로필 검색 lookup

/profile 끝점에 대한 GET 요청을 통해 현재 로그인한 프로필의 세부 정보를 검색할 수 있습니다.

API 형식

GET /profile

요청

curl -X GET \
  https://reactor.adobe.io/profile \
  -H 'Authorization: Bearer {ACCESS_TOKEN}' \
  -H 'x-api-key: {API_KEY}' \
  -H 'x-gw-ims-org-id: {ORG_ID}' \
  -H "Content-Type: application/vnd.api+json" \
  -H 'Accept: application/vnd.api+json;revision=1'

응답

성공적인 응답은 프로필의 세부 정보를 반환합니다.

{
  "data": {
    "id": "UR0bd696624e844d6ba5bfc248ba1eca11",
    "type": "users",
    "attributes": {
      "active_org": "{ORG_1}",
      "expires_in": 0,
      "display_name": "John Smith",
      "job_function": null,
      "email": "jsmith@example.com",
      "organizations": {
        "{ORG_1}": {
          "name": "Example organization A",
          "admin": true,
          "active": true,
          "login_companies": [

          ],
          "product_contexts": [
            "dma_audiencemanager_int",
            "dma_tartan",
            "dma_dtm",
            "dma_reactor",
            "dma_auditor"
          ],
          "tenant_id": "{TENANT_ID_1}"
        },
        "{ORG_2}": {
          "name": "Example organization B",
          "admin": false,
          "active": false,
          "login_companies": [

          ],
          "product_contexts": [
            "dma_reactor",
            "dma_auditor",
            "dma_tartan"
          ],
          "tenant_id": "{TENANT_ID_2}"
        }
      }
    },
    "links": {
      "self": "https://reactor.adobe.io/profile"
    },
    "meta": {
      "rights": [
        "manage_companies"
      ]
    }
  }
}
recommendation-more-help
12b4e4a9-5028-4d88-8ce6-64a580811743