{
  "opencollection": "1.0.0",
  "info": {
    "name": "Zenduty Account Custom Role Contact Methods API",
    "version": "1.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Contact Methods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all User Contact Method objects",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.zenduty.com/api/account/users/:username/contacts/",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "username of the User object"
              }
            ]
          },
          "docs": "Returns a list of User Contact Method objects."
        },
        {
          "info": {
            "name": "Create the User Contact Methods object",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://www.zenduty.com/api/account/users/:username/contacts/",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "username of the User object"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create the User Contact Methods object by setting the values of all the required parameters passed in the request body. A user can only create email Contact Methods through API."
        },
        {
          "info": {
            "name": "Retrieve the User Contact Methods object",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://www.zenduty.com/api/account/users/:username/contacts/:contact_id/",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "username of the User object"
              },
              {
                "name": "contact_id",
                "value": "",
                "type": "path",
                "description": "unique_id of the User Contact Methods object"
              }
            ]
          },
          "docs": "Retrieve the specified User's Contact Methods object."
        },
        {
          "info": {
            "name": "Delete the User Contact Methods object",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://www.zenduty.com/api/account/users/:username/contacts/:contact_id/",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "username of the User object"
              },
              {
                "name": "contact_id",
                "value": "",
                "type": "path",
                "description": "unique_id of the User Contact Methods object"
              }
            ]
          },
          "docs": "Delete the specified User's Contact Methods object permanently."
        }
      ]
    }
  ],
  "bundled": true
}