테마 재설정

특정 테넌트에 대한 모든 테마와 템플릿 사용자 지정을 제거하여, 해당 사용자 지정을 기본 템플릿 상태로 효과적으로 초기화할 수 있습니다.

프로시저

  1. 토큰을 가져와서 액세스하십시오.
    액세스 토큰을 생성할 수 있는 manageTemplates 인타이틀먼트가 있는 API 클라이언트를 사용하십시오. 자세한 내용은 ‘API 클라이언트 만들기 ’를 참조하세요.
    Request:
    
    curl https://<tenant-hostname>/oidc/endpoint/default/token -d 'grant_type=client_credentials&client_id=<client_id>&client_secret=<client_secret>'
    
    Response:
    
    {
      "access_token": "XHwFNxa6ey9Lcb6oR8fPyNZp1tCkVPZCPSBRcrco",
      "token_type": "Bearer",
      "expires_in": 7199,
      "scope": "openid"
    }
    
     
    후속 요청을 위해 액세스 토큰을 저장하십시오.
  2. 테마를 초기화하세요.
    reset theme API를 호출하십시오. 이는 테넌트의 모든 테마 및 템플릿 사용자 지정을 제거하고, 해당 사용자 지정을 기본 템플릿 상태로 효과적으로 초기화합니다.
    Request:
    
    curl -X DELETE  -H "Authorization: Bearer <access_token>" https://<tenant-hostname>/v1.0/branding/reset
    
    Response:
    
    204 No Content