权限管理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