openapi: 3.0.1 info: title: Equinix API Authentication Memberships API description: 'Equinix APIs use the OAuth 2.0 for authentication and authorization. Equinix supports the resource owner password and the client credentials flow. To begin, obtain OAuth 2.0 client credentials from the Equinix Developer Console under "My Apps". Then your client application requests an access token from the Equinix API Authorization endpoint, extracts the access_token from the response, and sends the Bearer token to the API that you want to access' termsOfService: https://www.equinix.com/about/legal/terms contact: name: Equinix API Support url: https://docs.equinix.com/api-support.htm version: '1.2' servers: - url: https://api.equinix.com tags: - description: 'Membership Management (Project). Check out the product docs to learn more about [Membership](https://metal.equinix.com/developers/docs/accounts/). ' externalDocs: url: https://metal.equinix.com/developers/docs/accounts/projects/#inviting-a-user-to-a-project name: Memberships paths: /memberships/{id}: delete: description: Deletes the membership. operationId: deleteMembership parameters: - description: Membership UUID in: path name: id required: true schema: format: uuid type: string responses: '204': description: no content '401': content: application/json: schema: $ref: '#/components/schemas/Error' description: unauthorized '403': content: application/json: schema: $ref: '#/components/schemas/Error' description: forbidden '404': content: application/json: schema: $ref: '#/components/schemas/Error' description: not found summary: Delete the membership tags: - Memberships get: description: Returns a single membership. operationId: findMembershipById parameters: - description: Membership UUID in: path name: id required: true schema: format: uuid type: string - description: 'Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.' explode: false in: query name: include schema: items: type: string type: array style: form responses: '200': content: application/json: schema: $ref: '#/components/schemas/Membership' description: ok '401': content: application/json: schema: $ref: '#/components/schemas/Error' description: unauthorized '403': content: application/json: schema: $ref: '#/components/schemas/Error' description: forbidden '404': content: application/json: schema: $ref: '#/components/schemas/Error' description: not found summary: Retrieve a membership tags: - Memberships put: description: Updates the membership. operationId: updateMembership parameters: - description: Membership UUID in: path name: id required: true schema: format: uuid type: string - description: 'Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.' explode: false in: query name: include schema: items: type: string type: array style: form requestBody: content: application/json: schema: $ref: '#/components/schemas/MembershipInput' description: Membership to update required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/Membership' description: ok '401': content: application/json: schema: $ref: '#/components/schemas/Error' description: unauthorized '403': content: application/json: schema: $ref: '#/components/schemas/Error' description: forbidden '404': content: application/json: schema: $ref: '#/components/schemas/Error' description: not found '422': content: application/json: schema: $ref: '#/components/schemas/Error' description: unprocessable entity summary: Update the membership tags: - Memberships components: schemas: Membership: example: updated_at: 2000-01-23 04:56:07+00:00 roles: - roles - roles created_at: 2000-01-23 04:56:07+00:00 project: href: href href: href id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 user: href: href properties: created_at: format: date-time type: string href: type: string id: format: uuid type: string project: $ref: '#/components/schemas/Href' roles: items: type: string type: array updated_at: format: date-time type: string user: $ref: '#/components/schemas/Href' type: object 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 MembershipInput: example: role: - role - role properties: role: items: type: string type: array type: object Href: example: href: href properties: href: type: string required: - href type: object x-eqx-api-linter-skip-rules: - 3 - 38