List custom behaviors

GET https://{{host}}/papi/v1/custom-behaviors

Lists the set of custom XML metadata behaviors configured for you by Akamai representatives. Referencing the relevant behaviorId from a customBehavior within the rule tree injects the custom XML within the rest of the rule tree's metadata XML. See Custom behaviors and overrides for guidance on custom overrides.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
PAPI-Use-Prefixesstring(Required) Enum Sets whether to represent ID prefixes in response data. Set to false when exchanging PAPI data with other APIs.
Acceptstring

RESPONSES

status: OK

{"accountId":"act_A-CCT3456","customBehaviors":{"items":[{"behaviorId":"cbe_12345","description":"Setting custom download receipt. Uses PMUSER_LOG variable.","displayName":"Custom Download Receipt","name":"DLR","status":"ACTIVE","updatedByUser":"jsmith","updatedDate":"2017-04-24T12:34:56Z"}]}}