{
  "opencollection": "1.0.0",
  "info": {
    "name": "DOCUMENTATION Users-Permissions - Users & Roles API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users-Permissions - Users & Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get default generated permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:1337/api/users-permissions/permissions"
          },
          "docs": "Get default generated permissions"
        },
        {
          "info": {
            "name": "List roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:1337/api/users-permissions/roles"
          },
          "docs": "List roles"
        },
        {
          "info": {
            "name": "Create a role",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:1337/api/users-permissions/roles",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a role"
        },
        {
          "info": {
            "name": "Get a role",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:1337/api/users-permissions/roles/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "role Id"
              }
            ]
          },
          "docs": "Get a role"
        },
        {
          "info": {
            "name": "Update a role",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://localhost:1337/api/users-permissions/roles/:role",
            "params": [
              {
                "name": "role",
                "value": "",
                "type": "path",
                "description": "role Id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a role"
        },
        {
          "info": {
            "name": "Delete a role",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:1337/api/users-permissions/roles/:role",
            "params": [
              {
                "name": "role",
                "value": "",
                "type": "path",
                "description": "role Id"
              }
            ]
          },
          "docs": "Delete a role"
        },
        {
          "info": {
            "name": "Get list of users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:1337/api/users"
          },
          "docs": "Get list of users"
        },
        {
          "info": {
            "name": "Create a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://localhost:1337/api/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a user"
        },
        {
          "info": {
            "name": "Get a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:1337/api/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "user Id"
              }
            ]
          },
          "docs": "Get a user"
        },
        {
          "info": {
            "name": "Update a user",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://localhost:1337/api/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "user Id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a user"
        },
        {
          "info": {
            "name": "Delete a user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://localhost:1337/api/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "user Id"
              }
            ]
          },
          "docs": "Delete a user"
        },
        {
          "info": {
            "name": "Get authenticated user info",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:1337/api/users/me"
          },
          "docs": "Get authenticated user info"
        },
        {
          "info": {
            "name": "Get user count",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://localhost:1337/api/users/count"
          },
          "docs": "Get user count"
        }
      ]
    }
  ],
  "bundled": true
}