Layero Team API

The team API from Layero — 6 operation(s) for team.

GitHub OpenAPI

Operations 8

GET /organizations/{slug}/members List Members #
PATCH /organizations/{slug}/members/{user_id} Update Member Role #
DELETE /organizations/{slug}/members/{user_id} Remove Member #
GET /organizations/{slug}/invites List Invites #
POST /organizations/{slug}/invites Create Invite #
DELETE /organizations/{slug}/invites/{invite_id} Revoke Invite #
POST /invites/accept Accept Invite #
GET /me/pending-invites My Pending Invites #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/layero-ru:layero-ru-team-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

layero-ru-team-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Layero Team API
  version: 0.1.0
tags:
- name: Team
paths:
  /organizations/{slug}/members:
    get:
      tags:
      - Team
      summary: List Members
      operationId: list_members_organizations__slug__members_get
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MemberOut'
                title: Response List Members Organizations  Slug  Members Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /organizations/{slug}/members/{user_id}:
    patch:
      tags:
      - Team
      summary: Update Member Role
      operationId: update_member_role_organizations__slug__members__user_id__patch
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberRoleIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Team
      summary: Remove Member
      operationId: remove_member_organizations__slug__members__user_id__delete
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: user_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: User Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /organizations/{slug}/invites:
    get:
      tags:
      - Team
      summary: List Invites
      operationId: list_invites_organizations__slug__invites_get
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InviteOut'
                title: Response List Invites Organizations  Slug  Invites Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Team
      summary: Create Invite
      operationId: create_invite_organizations__slug__invites_post
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteIn'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InviteOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /organizations/{slug}/invites/{invite_id}:
    delete:
      tags:
      - Team
      summary: Revoke Invite
      operationId: revoke_invite_organizations__slug__invites__invite_id__delete
      parameters:
      - name: slug
        in: path
        required: true
        schema:
          type: string
          title: Slug
      - name: invite_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Invite Id
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /invites/accept:
    post:
      tags:
      - Team
      summary: Accept Invite
      operationId: accept_invite_invites_accept_post
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptIn'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberOut'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /me/pending-invites:
    get:
      tags:
      - Team
      summary: My Pending Invites
      operationId: my_pending_invites_me_pending_invites_get
      parameters:
      - name: authorization
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InviteOut'
                title: Response My Pending Invites Me Pending Invites Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InviteOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        email:
          type: string
          title: Email
        role:
          type: string
          title: Role
        status:
          type: string
          title: Status
        created_at:
          type: string
          title: Created At
        expires_at:
          type: string
          title: Expires At
        invite_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Invite Url
      type: object
      required:
      - id
      - email
      - role
      - status
      - created_at
      - expires_at
      title: InviteOut
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AcceptIn:
      properties:
        token:
          type: string
          title: Token
      type: object
      required:
      - token
      title: AcceptIn
    InviteIn:
      properties:
        email:
          type: string
          maxLength: 320
          minLength: 3
          title: Email
        role:
          type: string
          title: Role
          default: member
      type: object
      required:
      - email
      title: InviteIn
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    MemberRoleIn:
      properties:
        role:
          type: string
          title: Role
      type: object
      required:
      - role
      title: MemberRoleIn
    MemberOut:
      properties:
        user_id:
          type: string
          format: uuid
          title: User Id
        email:
          anyOf:
          - type: string
          - type: 'null'
          title: Email
        username:
          anyOf:
          - type: string
          - type: 'null'
          title: Username
        avatar_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Avatar Url
        github_login:
          anyOf:
          - type: string
          - type: 'null'
          title: Github Login
        role:
          type: string
          title: Role
        added_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Added At
        organization_slug:
          anyOf:
          - type: string
          - type: 'null'
          title: Organization Slug
      type: object
      required:
      - user_id
      - email
      - username
      - avatar_url
      - github_login
      - role
      title: MemberOut