Zum Inhalt springen

TLS-Organisation aktualisieren

PATCH /tls/organization/{organization_id}

Aktualisiert die lokalen Kontaktdaten der TLS-Organisation, die für Bereitschaftsprüfungen und den Abschluss von Bestellungen verwendet werden.

Name Typ Pflicht Beschreibung
organization_id tlsOrganizationId ja

tlsOrganizationPatchRequest

Feld Typ Pflicht Beschreibung
edit_mode string nein (create_replacement, update_provider)
organization string nein
first_name string nein
last_name string nein
address string nein
postal_code string nein
city string nein
country_code string nein
phone string nein
email string nein
Status Typ Beschreibung
200 tlsOrganizationResponse TLS-Organisation aktualisiert
400 Error Ungültige Anfragedaten
401 Error Nicht autorisiert
404 Error TLS-Organisation nicht gefunden
500 Error Unerwarteter Fehler
Feld Typ Pflicht Beschreibung
success boolean ja Erfolgskennzeichen
code integer nein Antwort-/Fehlercode
response tlsOrganizationResponse nein
Terminal-Fenster
curl -X PATCH "https://api.regfish.com/tls/organization/<organization_id>" \
-H "x-api-key: $REGFISH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"edit_mode": "create_replacement",
"organization": "string",
"first_name": "string",
"last_name": "string",
"address": "string",
"postal_code": "string",
"city": "string",
"country_code": "string",
"phone": "string",
"email": "string"
}'

Werte eintragen — der Aufruf unten passt sich an. Es wird nichts abgeschickt: die API gibt Browser-Anfragen von dieser Domain aus derzeit nicht frei (CORS). Der API-Key wird nicht gespeichert.