Segment wijzigen
Wijzigt de naam of de definitie van een segment. Je stuurt alleen mee wat anders moet worden.
You only need to include the fields that need to be changed in the request. Fields that are not mentioned retain their current value. Once a field is mentioned, it is checked and can therefore cause an error message. This error message will include a code and a message. See above under Error Messages for what the codes mean.
Ändert den Namen oder die Definition eines Segments. Du schickst nur mit, was anders werden soll.
Modifica el nombre o la definición de un segmento. Solo envías lo que debe cambiar.
Authentication
AuthorizationBasic
Vul je API-sleutel in bij
api_key en laat leave_empty leeg. De API gebruikt basic auth, waarbij je sleutel de plaats van de gebruikersnaam inneemt. In curl schrijf je dat als -u JOUW_SLEUTEL:, met een dubbele punt en niets erachter.
Enter your API key at api_key and leave leave_empty empty. The API uses basic auth, with your key in place of the username. In curl that reads -u YOUR_KEY:, with a colon and nothing after it.
Trage deinen API-Schlüssel bei api_key ein und lass leave_empty leer. Die API nutzt Basic Auth, wobei dein Schlüssel an die Stelle des Benutzernamens tritt. In curl schreibst du das als -u DEIN_SCHLUESSEL:, mit einem Doppelpunkt und nichts dahinter.
Introduce tu clave API en api_key y deja leave_empty vacío. La API usa basic auth, con tu clave en lugar del nombre de usuario. En curl se escribe como -u TU_CLAVE:, con dos puntos y nada después.Path parameters
segment_id
Het id van het segment. Dat vind je in het antwoord van Alle segmenten opvragen.
The id of the segment. You find it in the response of Get all segments.
Die ID des Segments. Du findest sie in der Antwort von Alle Segmente abrufen.
El id del segmento. Lo encuentras en la respuesta de Obtener todos los segmentos.
Request
This endpoint expects an object.
list_id
Het id van de lijst. Dat vind je in het antwoord van Alle lijsten opvragen, en in de applicatie in de URL van de lijst.
The id of the list. You find it in the response of Get all lists, and in the application in the URL of the list.
Die ID der Liste. Du findest sie in der Antwort von Alle Listen abrufen und in der Anwendung in der URL der Liste.
El id de la lista. Lo encuentras en la respuesta de Obtener todas las listas y en la aplicación, en la URL de la lista.
name
De naam van het segment.
The name of the segment
Der Name des Segments.
El nombre del segmento.
definition
De nieuwe definitie van het segment als JSON-tekst.
The definition of the segment (string in JSON format)
Die neue Definition des Segments als JSON-Text.
La nueva definición del segmento como texto JSON.
Response
De aanvraag is gelukt.
The request succeeded.
Die Anfrage war erfolgreich.
La solicitud se ha realizado correctamente.
segment
Het segment-object
The segment object
Das segment-Objekt
El objeto segment
Errors
400
Bad Request Error
401
Unauthorized Error
429
Too Many Requests Error