跳轉到主要內容
POST
Set Profile Policy

授權

X-EntityToken
string
header
必填

This API requires an Entity Session Token, available from the Entity GetEntityToken method.

主體

application/json

This will set the access policy statements on the given entity profile. This is not additive, any existing statements will be replaced with the statements in this request.

This will set the access policy statements on the given entity profile. This is not additive, any existing statements will be replaced with the statements in this request.

Entity
object
必填

The entity to perform this action on.

Statements
object[]
必填

The statements to include in the access policy.

CustomTags
object

The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

回應

code
integer

The Http status code. If X-ReportErrorAsSuccess header is set to true, this will report the actual http error code.

status
string

The Http status code as a string.

data
object
範例:
最後修改於 2026年10月6日