Update References

Beta: Update slot references

post

Updates slot references and custom fields. The custom fields (e.g., custom_field_1, custom_field_2) depend on the custom fields defined in the zone related to the updated slot. This endpoint allows partial updates to slot references and custom fields without affecting other slot properties.

Authorizations
AuthenticationstringRequired

Authentication is token based. You can issue a token for your API request from the 'API' section of the settings menu. The token MUST be sent in a Authorization header with each request.

Example of authenticated request

$ curl -X GET -H "Authorization: Token <your token>" "https://api.dashdoc.eu/api/v4/"
Path parameters
site-slugstringRequired

The slug identifier of the site

Body
referencesstring[] | nullableRequired

List of reference strings for the slot

custom_field_1stringOptional

Value for the first custom field (if defined in the zone)

custom_field_2stringOptional

Value for the second custom field (if defined in the zone)

Responses
200

Slot references updated successfully

application/json
post
/flow/sites/{site-slug}/slots/{slot-uid}/update-references/
200

Slot references updated successfully

Last updated

Was this helpful?