| Method | HTTP request | Release Stage |
|---|---|---|
| get | GET /v2/admin/cbacMarkingRestrictions | Public Beta |
Returns disallowed, implied, and required markings for the given set of marking IDs.
| Name | Type | Description | Notes |
|---|---|---|---|
| marking_ids | Optional[List[MarkingId]] | The marking IDs for which to get restrictions. | [optional] |
| preview | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
CbacMarkingRestrictions
from foundry_sdk import FoundryClient
import foundry_sdk
from pprint import pprint
client = FoundryClient(auth=foundry_sdk.UserTokenAuth(...), hostname="example.palantirfoundry.com")
# Optional[List[MarkingId]] | The marking IDs for which to get restrictions.
marking_ids = None
# Optional[PreviewMode] | Enables the use of preview functionality.
preview = None
try:
api_response = client.admin.CbacMarkingRestrictions.get(
marking_ids=marking_ids, preview=preview
)
print("The get response:\n")
pprint(api_response)
except foundry_sdk.PalantirRPCException as e:
print("HTTP error when calling CbacMarkingRestrictions.get: %s\n" % e)See README
| Status Code | Type | Description | Content Type |
|---|---|---|---|
| 200 | CbacMarkingRestrictions | application/json |
[Back to top] [Back to API list] [Back to Model list] [Back to README]