> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/global-settings/global-settings-docs-de/sicherheit/api-token/ein-api-token-erstellen.md).

# Ein API-Token erstellen

{% hint style="success" %}

#### Erforderliche Benutzeranmeldeinformationen

\[**Flosum-Benutzer**] - Beliebige Rolle
{% endhint %}

## ![](https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FSxcnKlaJKPzDqONWoDNv%2FSummary2-Small-Icon.svg?alt=media\&token=5e3253d0-a069-4ba5-9c06-83c70bd0b21d) Übersicht

Dieser Artikel zeigt Ihnen, wie Sie ein API-Token erstellen, das zum Gewähren des Zugriffs auf die APIs von Flosum verwendet wird. Dieses Token kann für den Zugriff auf die folgenden APIs verwendet werden.

* Flosums SCIM-API für die Benutzerverwaltung des Identitätsanbieters.
* Flosums DevOps-Befehlszeilenschnittstelle.

## Ein API-Token erstellen

{% stepper %}
{% step %}

### Globale Einstellungen aufrufen

1. Von jedem **Flosum Cloud App**, klicken Sie auf das **App-Wechsler** Symbol oben im linken Seitenleistenmenü.

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2Fgh5FcQCnErKAjJ7isiuB%2FGS-Access-01.png?alt=media&amp;token=ddf01506-f133-4e49-825a-76a2a237e3a8" alt="" width="563"><figcaption></figcaption></figure></div>
2. Klicken Sie auf **Globale Einstellungen**.&#x20;

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2Fx5vntzgpLuT50fMTzwT9%2FGS-Access-02.png?alt=media&amp;token=f67a125f-5087-47c2-9bc6-9393c3d2b7a5" alt="" width="563"><figcaption></figcaption></figure></div>
3. Die **Globale Einstellungen** App wird in einem neuen Tab geöffnet.

{% hint style="info" %}
Auf die globalen Einstellungen kann auch zugegriffen werden, indem Sie sich direkt über die Flosum Cloud Apps Login-URL anmelden. Weitere Anweisungen zur Anmeldung finden Sie im folgenden Artikel.

* [Bei den globalen Einstellungen anmelden](/global-settings/global-settings-docs-de/erste-schritte/bei-den-globalen-einstellungen-anmelden.md)
  {% endhint %}
  {% endstep %}

{% step %}

### API-Token erstellen

1. Klicken Sie auf **API-Tokens** im linken Seitenleistenmenü.
2. Klicken Sie auf **Erstellen**.

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FgqoftgRzO9nY2rpu9hQ1%2FCreatingAnApiToken-S02-01.png?alt=media&amp;token=f4489e15-bb83-4922-b503-f073a8491c19" alt="" width="563"><figcaption></figcaption></figure></div>
3. Geben Sie einen beschreibenden **Namen** für das Token ein.
4. Klicken Sie auf das **Ablaufdatum** Dropdown-Menü.

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FMvVcw1ljSEHQESSBAJwg%2FCreatingAnApiToken-S02-02.png?alt=media&amp;token=344df77f-4a37-4ed7-9028-d80d725f4461" alt="" width="375"><figcaption></figcaption></figure></div>
5. Wählen Sie die Anzahl der Tage aus, für die das API-Token gültig sein soll.

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FYCWyJwPCL6XM7iA6g8N8%2FCreatingAnApiToken-S02-03.png?alt=media&amp;token=c8ad062c-2cff-4e30-9cfb-34271b1e0e49" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="warning" %}

#### Token-Ablauf

Sobald ein API-Token abläuft, können Dienste, die das Token verwenden, nicht mehr auf die Flosum-API zugreifen. Für Dienste, die kontinuierlichen Zugriff benötigen, wie z. B. ein SSO-Identitätsanbieter, wählen Sie **Kein Ablauf**.
{% endhint %}

6. Klicken Sie auf **Erstellen**.

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2F762dulJyPwAQ8MpAzRaU%2FCreatingAnApiToken-S02-04.png?alt=media&amp;token=fee34784-77de-4d2e-9add-03b7baa92be0" alt="" width="375"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### API-Token speichern

{% hint style="warning" %}

#### API-Token

Das API-Token wird nur einmal angezeigt. Wenn Sie Ihr Token verlieren, müssen Sie es aktualisieren, um ein neues zu generieren. Durch das Aktualisieren eines Tokens wird das vorherige ungültig, und Sie müssen alle Dienste aktualisieren, die es verwenden.
{% endhint %}

1. Nach der Erstellung wird das API-Token angezeigt.
2. Klicken Sie auf das **Kopieren** Symbol, um das Token zu kopieren, und speichern Sie es anschließend sicher. Sie können es nicht erneut anzeigen.

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FWfkw10WLti9bHD3HVVFk%2FCreatingAnApiToken-S03-01.png?alt=media&amp;token=809004be-b572-4ca0-9f24-9b2e961c60ce" alt="" width="375"><figcaption></figcaption></figure></div>
3. Klicken Sie auf **Schließen**.
4. Das von Ihnen erstellte Token wird nun in der Tabelle „API-Tokens“ aufgeführt.

   <div align="left"><figure><img src="https://1457152582-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FocJvxwLRdGw2oGNiG2iQ%2FCreatingAnApiToken-S03-02.png?alt=media&amp;token=19b34f62-3753-420a-aaa9-a086bff17430" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/global-settings/global-settings-docs-de/sicherheit/api-token/ein-api-token-erstellen.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
