Autenticación Hardware Cashier Companies Documents Entities Fiscal Products Shared Users

roles resource

GET http://api.multinexo.com/v1/companies/{company_id}/roles

Attributes

name
create, read, update string required
description
create, read, update string
is_admin
read bool

Relationships

users
has many of type: users
permissions
has many of type: permissions

JSON Resource Example

  {
    data: {
      type: roles,
      id: 625,
      attributes: {
        name: string,
        description: string,
        is_admin: someValue
        },
      relationships: { 
        users:{
          id: 564,
          type: users
        },
      
        permissions:{
          id: 290,
          type: permissions
        }
      }
    }
  }

JSON-API Entry points

DELETE PATCH GET http://api.multinexo.com/v1/companies/{company_id}/roles/{role_id}

POST http://api.multinexo.com/v1/companies/{company_id}/roles/