許可權管理API方法 permissions-management-api-methods

剩下API個方法可管理物件和群組的許可權。

列出可用的物件型別 list-object-types

GET方法,用來列出可設定角色型存取控制項的可用物件型別。

請求

GET /api/v1/permissionable-object-types/

回應

[ "SEGMENT", "TRAIT", "DESTINATION", "DERIVED_SIGNALS", "TAGS" ]

列出物件型別的可用許可權 list-permissions-object-type

列出物件型別可用許可權的GET方法。

請求

GET /api/v1/permissionable-object-types/SEGMENT/

回應

{
 "wildcard" : [ "VIEW_ALL_SEGMENTS", "EDIT_ALL_SEGMENTS", "CREATE_ALL_SEGMENTS", "DELETE_ALL_SEGMENTS", "MAP_ALL_SEGMENTS_TO_MODELS", "MAP_ALL_TO_DESTINATIONS" ],
 "perObject" : [ "READ", "WRITE", "CREATE", "DELETE", "MAP_TO_MODELS", "MAP_TO_DESTINATION" ]
}
NOTE
物件型別TAGS和DERIVED SIGNALS沒有正常的使用許可權。 這些物件型別的控制項僅由「全部」或「無萬用字元許可權」變更。
recommendation-more-help
de293fbf-b489-49b0-8daa-51ed303af695