Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Auth

Use the Auth API to generate and manage tokens for secure access to the IONOS CLOUD API. A token also works with the Cloud API, Reseller API, Activity Log API, and others.

Base URL

https://api.ionos.com/auth/v1

Authorization

The Auth API supports Basic authentication and Bearer token authentication. Pass your credentials in the Authorization header:

  • Basic authentication (Authorization: Basic <base64(username:password)>). Supported only when 2-factor authentication is not configured.

  • Bearer token (Authorization: Bearer <access_token>)

If 2-factor authentication is active for your account, generate a 2FA-secured token in the DCD with Token Manager. Token deletion is only possible with Token Manager.

Version

1.0

HTTP Status Codes

Status Code

Message

Description

200 OK

Request succeeds

The request was successful.

201 Created

Resource created

The resource was successfully created.

202 Accepted

Request accepted

The request has been accepted for processing.

204 No Content

Success, no content

The request was successful, but there is no content to return.

400 Bad Request

Invalid request

The request is malformed or contains invalid parameters.

401 Unauthorized

Authentication failed

Authentication credentials are missing or invalid.

403 Forbidden

Access denied

The authenticated user does not have permission to access the resource.

404 Not Found

Resource not found

The requested resource does not exist.

409 Conflict

Resource conflict

The request conflicts with the current state of the resource.

429 Too Many Requests

Rate limit exceeded

Too many requests have been sent in a given time.

500 Internal Server Error

Server error

An unexpected error occurred on the server.

503 Service Unavailable

Service unavailable

The service is temporarily unavailable.

Last updated

Was this helpful?