openapi: 3.2.0 info: contact: email: support@equinixmetal.com name: Equinix Metal API Team description: '# Introduction Equinix Metal provides a RESTful HTTP API which can be reached at .' license: name: Equinix Metal url: https://metal.equinix.com/legal/ termsOfService: https://metal.equinix.com/legal/ title: Metal Userdata API version: 1.0.0 servers: - url: https://api.equinix.com/metal/v1 security: - x_auth_token: [] tags: - description: Userdata Management externalDocs: url: https://metal.equinix.com/developers/docs/server-metadata/user-data/ name: User Data paths: /userdata/validate: post: description: Validates user data (Userdata) operationId: validateUserdata parameters: - description: Userdata to validate in: query name: userdata schema: type: string responses: '204': description: no content '401': content: application/json: schema: $ref: '#/components/schemas/Error' description: unauthorized '422': content: application/json: schema: $ref: '#/components/schemas/Error' description: unprocessable entity summary: Validate user data tags: - User Data components: schemas: Error: description: Error responses are included with 4xx and 5xx HTTP responses from the API service. Either "error" or "errors" will be set. properties: error: description: A description of the error that caused the request to fail. type: string errors: description: A list of errors that contributed to the request failing. items: description: An error message that contributed to the request failing. type: string type: array type: object securitySchemes: x_auth_token: description: 'HTTP header containing the User or Project API key that will be used to authenticate the request. ' in: header name: X-Auth-Token type: apiKey x-displayName: X-Auth-Token x-tagGroups: - name: Accounts and Organization tags: - Authentication - Emails - Invitations - Memberships - Organizations - OTPs - PasswordResetTokens - PaymentMethods - Projects - SSHKeys - SupportRequest - TransferRequests - TwoFactorAuth - Users - UserVerificationTokens - name: Services and Billing tags: - Events - Facilities - Incidents - Invoices - Licenses - Metros - Plans - Usages - name: Servers tags: - Devices - Batches - Capacity - HardwareReservations - OperatingSystems - Ports - SelfServiceReservations - SpotMarket - Userdata - Volumes - name: Networking tags: - BGP - Interconnections - IPAddresses - MetalGateways - VLANs - VRFs