Method: roleAssignments.delete
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
HTTP isteği
DELETE https://admin.googleapis.com/admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
customer |
string
Google Workspace hesabının değişmeyen kimliği.
|
roleAssignmentId |
string
Rol atama işleminin sabit kimliği.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt, biçimi yöntem tarafından tanımlanan genel bir HTTP yanıtıdır.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/admin.directory.rolemanagement
Daha fazla bilgi için Yetkilendirme kılavuzuna bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[],[],null,["# Method: roleAssignments.delete\n\nDeletes a role assignment.\n\n### HTTP request\n\n`DELETE https://admin.googleapis.com/admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------------|--------------------------------------------------------|\n| `customer` | `string` Immutable ID of the Google Workspace account. |\n| `roleAssignmentId` | `string` Immutable ID of the role assignment. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response is a generic HTTP response whose format is defined by the method.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admin.directory.rolemanagement`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]