---
title: "AuthInfo1 Create"
url: "https://help.internetx.com/de/api/core-authinfo1-create/"
lang: "de"
section: "API-Referenz — API-Referenz (XML/JSON)"
breadcrumb: "API-Dokumentation (XML/ JSON) > Auftragstypen > Transfer-Auftragstypen"
updated: "2023-09-07"
---

# AuthInfo1 Create

## Funktion

Der Auftragstyp _AuthInfo1Create_ fordert eine AuthInfo1 an.

Liegt eine Kündigung vom Typ Preack vor, kannst Du eine AuthInfo1 nicht selbst über das System erzeugen. In diesem Fall erzeugt das System die AuthInfo1 automatisch. Bei den Ausführungstypen „now“ und „date“ ist die AuthInfo dann 30 Tage ab dem Kündigungsdatum (execdate) gültig. Bei Auswahl des Ausführungsdatums „expire“, also der Kündigung zum Ablaufdatum, ist die AuthInfo ab dem 30 Tag vor dem Ablaufdatum gültig.

## Beschreibung

Route: POST /domain/{name}/\_authinfo1.  
Es muss kein Body mitgeschickt werden,

```
{
}
```

```
{
  "status": {
    "code": "S0113001",
    "text": "AuthInfo1 wurde erfolgreich erzeugt",
    "type": "SUCCESS"
  },
  "object": {
    "type": "Domain",
    "value": "example.com"
  }
}
```

Auftragstyp-Code: 0113001  
Verwendet Objekt [Domain](/de/api/core-objekt-domain/)

**Beispiel, wenn das Erzeugen der AuthInfo erfolgreich war.  
**

```
<request>
	<auth>
		<user>customer</user>
		<password>password</password>
		<context>4</context>
	</auth>
	<owner>
		<user>customer2</user>
		<context>4</context>
	</owner>
	<task>
		<code>0113001</code>
		<domain>
			<name>example.com</name>
		</domain>
	</task>
</request>
```

```
<response>
	<result>
		<data/>
		<status>
			<code>S0113001</code>
			<text>AuthInfo1 wurde erfolgreich erzeugt.</text>
			<type>success</type>
			<object>
				<type>authinfo</type>
				<value>kiSV/CbJi9/KaCxp</value>
			</object>
		</status>
	</result>
</response>
```

**Beispielantwort, wenn bereits eine AuthInfo vorliegt.  
**

```
<response>
	<result>
		<data />
		<msg>
			<code>EF011316</code>
			<type>error</type>
			<object>
				<type>authinfo</type>
				<value></value>
			</object>
		</msg>
		<status>
			<code>E0113001</code>
			<text>AuthInfo1 konnte nicht erzeugt werden.</text>
			<type>error</type>
			<object>
				<type>authinfo</type>
				<value>12345-abcd</value>
			</object>
		</status>
	</result>
</response>
```
