تاریخ آخرین بهروزرسانی 2025-03-25 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-03-25 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Manage contact delegates\n\nThis guide covers how to create, list, and delete contact delegates.\n\nCreate a delegate\n-----------------\n\nTo create a delegate for a user, create a `POST` request containing the email\naddress of the delegator: \n\n POST https://admin.googleapis.com/admin/contacts/v1/users/delegator@example.com/delegates\n\nIn the request body, provide the email address for the delegate:\n\n`\n{\n\"email\": \"`\u003cvar translate=\"no\"\u003edelegate\u003c/var\u003e`@example.com\"\n}\n`\n\nA successful response returns an `HTTP 200` status code and the new delegate's\nemail:\n\n`\n{\n\"email\": \"`\u003cvar translate=\"no\"\u003edelegate\u003c/var\u003e`@example.com\"\n}\n`\n\nList delegates\n--------------\n\nTo list delegates for a user's contacts, create a `GET` request containing the\nemail address of that user: \n\n GET https://admin.googleapis.com/admin/contacts/v1/users/delegator@example.com/delegates\n\nA successful response returns an `HTTP 200` status code and a list of delegate\nemails:\n\n`\n{\n\"email\": \"`\u003cvar translate=\"no\"\u003edelegate1\u003c/var\u003e`@example.com\"\n}\n`\n\nDelete a delegate\n-----------------\n\nTo delete a delegate of a user's contacts, create a `DELETE` request containing\nthe email address of both the delegaor and delegate: \n\n DELETE https://admin.googleapis.com/admin/contacts/v1/users/delegator@example.com/delegates/delegate@example.com\n\nA successful response returns an `HTTP 200` status code."]]