File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,21 +26,21 @@ def worker(args):
2626 user_id = args ["user_id" ]
2727
2828 # Create an API client with headers
29- # Step 2 start
29+ #ds-snippet- start:Admin11Step2
3030 api_client = ApiClient (host = DS_CONFIG ["admin_api_client_host" ])
3131 api_client .set_default_header (
3232 header_name = "Authorization" ,
3333 header_value = f"Bearer { access_token } "
3434 )
35- # Step 2 end
35+ #ds-snippet- end:Admin11Step2
3636
37- # Step 3 start
37+ #ds-snippet- start:Admin11Step3
3838 accounts_api = AccountsApi (api_client = api_client )
3939 membership_redaction_request = IndividualMembershipDataRedactionRequest (user_id = user_id )
40- # Step 3 end
40+ #ds-snippet- end:Admin11Step3
4141
42- # Step 4 start
42+ #ds-snippet- start:Admin11Step4
4343 results = accounts_api .redact_individual_membership_data (account_id , membership_redaction_request )
44- # Step 4 end
44+ #ds-snippet- end:Admin11Step4
4545
4646 return results
You can’t perform that action at this time.
0 commit comments