Data Management APIs
- Allocation
- Activity Log
- Audience
- Audience Attribute
- Audience Segment
- Auth and User
- POSTRequest password reset
- POSTGoogle sign-in authentication.
- POSTLogin using JWT authentication.
- POSTLogout using JWT authentication.
- POSTRegister a new user
- POSTRequest a verification token
- POSTReset password
- POSTVerify the user token
- POSTUpsert a privacy consent
- GETGet a privacy consent
- PATCHUpdate user budget
- PATCHUpdate user data
- GETGet all users
- DELDelete a user
- GETGet the current user
- POST
- Campaign
- Catalog
- Creative
- Analytic
- Billing
- System
- License
- Media Library
- Placement Catalog
- Placement
Decision APIs
- Cache Management
- Configuration
- Ad Serving
- Ad Log
- Activity Log
Auth and User
Upsert a privacy consent
사용자에 대한 개인정보 동의를 생성하거나 업데이트합니다.
- 사용자에 대한 개인정보 동의가 없으면 새로운 동의가 생성됩니다.
- 사용자에 대한 동일한 버전의 개인정보 동의가 존재하면 동의 상태만 업데이트됩니다.
POST
/
privacy
/
consents
curl --request POST \
--url https://your_a2_service/privacy/consents \
--header 'Content-Type: application/json' \
--data '{
"consent_channel": "web_login",
"consent_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"is_agreed": true,
"policy_version": "1.0.0",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"consent_channel": "web_login",
"consent_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"is_agreed": true,
"policy_version": "1.0.0",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Body
application/json
개인정보 활용 동의 업데이트 스키마
Response
200
application/json
Successful Response
개인정보 활용 동의 스키마
이 페이지가 도움이 되었나요?
curl --request POST \
--url https://your_a2_service/privacy/consents \
--header 'Content-Type: application/json' \
--data '{
"consent_channel": "web_login",
"consent_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"email": "<string>",
"is_agreed": true,
"policy_version": "1.0.0",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"consent_channel": "web_login",
"consent_date": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"is_agreed": true,
"policy_version": "1.0.0",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
어시스턴트
Responses are generated using AI and may contain mistakes.