Ayla Networks Roles.json API

The Roles.json API from Ayla Networks — 1 operation(s) for roles.json.

Business capability
Identity & Access Management BC-620.20

Operations 1

POST /api/v1/roles.json Create role #

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/ayla-networks:ayla-networks-roles-json-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

ayla-networks-roles-json-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: user-service Roles.json API
  version: '1.0'
servers:
- url: https://user-dev.aylanetworks.com/
security:
- sec0: []
tags:
- name: Roles.json
paths:
  /api/v1/roles.json:
    post:
      summary: Create role
      description: This API is used to create a role.
      operationId: create-role
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                role:
                  properties:
                    name:
                      type: string
                    can_manage_property:
                      type: boolean
                      description: It is used to differentiate the partner role from the custom role. The value "true" indicates partner role.
                  required: []
                  type: object
      responses:
        '201':
          description: Created
          content:
            application/json:
              examples:
                Result:
                  value: "{\n    \"id\": 52,\n    \"name\": \"Partner::OEM\",\n    \"permissions\": [],\n    \"can_manage_property\": true\n}"
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    example: 52
                    default: 0
                  name:
                    type: string
                    example: Partner::OEM
                  permissions:
                    type: array
                  can_manage_property:
                    type: boolean
                    example: true
                    default: true
        '401':
          content: {}
          description: Unauthorized
        '403':
          content: {}
          description: Forbidden
        '404':
          content: {}
          description: Not Found
        '422':
          content: {}
          description: Unprocessable Entity
      deprecated: false
      tags:
      - Roles.json
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-default: auth_token
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://docs.aylanetworks.com/reference
  harvested: '2026-10-14'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.aylanetworks.com/reference/assign-label.md
  - https://docs.aylanetworks.com/reference/assign-role.md
  - https://docs.aylanetworks.com/reference/associate-role-user.md
  - https://docs.aylanetworks.com/reference/configure-properties-based-on-role.md
  - https://docs.aylanetworks.com/reference/confirm-user-account.md
  - https://docs.aylanetworks.com/reference/create-associated-user.md
  - https://docs.aylanetworks.com/reference/create-contact.md
  - https://docs.aylanetworks.com/reference/create-dealer.md
  - https://docs.aylanetworks.com/reference/create-firebase-configuration.md
  - https://docs.aylanetworks.com/reference/create-role-user.md
  - https://docs.aylanetworks.com/reference/create-role.md
  - https://docs.aylanetworks.com/reference/create-share.md
  - https://docs.aylanetworks.com/reference/create-user-account.md
  - https://docs.aylanetworks.com/reference/create-user-contact.md
  - https://docs.aylanetworks.com/reference/create-user-metadatum.md
  - https://docs.aylanetworks.com/reference/delete-contact.md
  - https://docs.aylanetworks.com/reference/delete-firebase-configuration.md
  - https://docs.aylanetworks.com/reference/delete-properties-by-roles.md
  - https://docs.aylanetworks.com/reference/delete-share-by-user-id.md
  - https://docs.aylanetworks.com/reference/delete-share.md
  - https://docs.aylanetworks.com/reference/delete-user-account-1.md
  - https://docs.aylanetworks.com/reference/delete-user-account.md
  - https://docs.aylanetworks.com/reference/delete-user-contact.md
  - https://docs.aylanetworks.com/reference/delete-user-metadatum.md
  - https://docs.aylanetworks.com/reference/disassociate-role-user.md
  - https://docs.aylanetworks.com/reference/disassociate-user.md
  - https://docs.aylanetworks.com/reference/edit-property-permissions.md
  - https://docs.aylanetworks.com/reference/get-clients.md
  - https://docs.aylanetworks.com/reference/get-contact-details.md
  - https://docs.aylanetworks.com/reference/get-contacts.md
  - https://docs.aylanetworks.com/reference/get-end-users.md
  - https://docs.aylanetworks.com/reference/get-oem-users.md
  - https://docs.aylanetworks.com/reference/get-oem.md
  - https://docs.aylanetworks.com/reference/get-oems.md
  - https://docs.aylanetworks.com/reference/get-properties-by-oem-model-and-role.md
  - https://docs.aylanetworks.com/reference/get-received-shares.md
  - https://docs.aylanetworks.com/reference/get-role-users.md
  - https://docs.aylanetworks.com/reference/get-share.md
  - https://docs.aylanetworks.com/reference/get-shares.md
  - https://docs.aylanetworks.com/reference/get-tokens.md
  - https://docs.aylanetworks.com/reference/get-user-by-id.md
  - https://docs.aylanetworks.com/reference/get-user-by-universal-user-id.md
  - https://docs.aylanetworks.com/reference/get-user-contacts.md
  - https://docs.aylanetworks.com/reference/get-user-metadata.md
  - https://docs.aylanetworks.com/reference/get-user-metadatum.md
  - https://docs.aylanetworks.com/reference/get-user-profile-1.md
  - https://docs.aylanetworks.com/reference/get-users-by-label.md
  - https://docs.aylanetworks.com/reference/get-users-by-oem.md
  - https://docs.aylanetworks.com/reference/get-users-by-role.md
  - https://docs.aylanetworks.com/reference/login.md
  - https://docs.aylanetworks.com/reference/refresh-token.md
  - https://docs.aylanetworks.com/reference/reset-password.md
  - https://docs.aylanetworks.com/reference/return-tokens.md
  - https://docs.aylanetworks.com/reference/revoke-label.md
  - https://docs.aylanetworks.com/reference/revoke-role.md
  - https://docs.aylanetworks.com/reference/send-how-to-confirm.md
  - https://docs.aylanetworks.com/reference/send-how-to-reset.md
  - https://docs.aylanetworks.com/reference/update-contact.md
  - https://docs.aylanetworks.com/reference/update-email.md
  - https://docs.aylanetworks.com/reference/update-firebase-configuration-1.md
  - https://docs.aylanetworks.com/reference/update-firebase-configuration.md
  - https://docs.aylanetworks.com/reference/update-share.md
  - https://docs.aylanetworks.com/reference/update-sso-user.md
  - https://docs.aylanetworks.com/reference/update-user-account-1.md
  - https://docs.aylanetworks.com/reference/update-user-contact.md
  - https://docs.aylanetworks.com/reference/update-user-metadatum.md
  merge:
    pages: 66
    deduped: 65
    conflicts_kept_first: 0