OpenAPI Specification
openapi: 3.0.3
info:
title: Gandi Domain Authorization API
description: The Gandi Domain API enables you to register, manage, transfer, and renew domain names registered with Gandi.
version: '5.0'
contact:
name: Gandi Support
url: https://www.gandi.net/
license:
name: Proprietary
servers:
- url: https://api.gandi.net/v5/domain
description: Production
- url: https://api.sandbox.gandi.net/v5/domain
description: Sandbox
security:
- bearer: []
- apiKey: []
tags:
- name: Authorization
description: Manage domain authorization codes.
paths:
/domains/{domain}/authinfo:
put:
summary: Reset auth code
description: Reset the registry authorization code for a domain.
tags:
- Authorization
parameters:
- name: domain
in: path
required: true
schema:
type: string
responses:
'200':
description: Auth code reset.
components:
securitySchemes:
bearer:
type: http
scheme: bearer
description: Personal Access Token (PAT) - format `Bearer pat_xxx`.
apiKey:
type: apiKey
in: header
name: Authorization
description: Deprecated API key - format `Apikey YOUR_API_KEY`.