{
  "opencollection": "1.0.0",
  "info": {
    "name": "Atlassian Admin Account Template API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Template",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Blueprint Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/wiki/rest/api/template/blueprint",
            "params": [
              {
                "name": "spaceKey",
                "value": "",
                "type": "query",
                "description": "The key of the space to be queried for templates. If the `spaceKey`\nis not specified, global blueprint templates will be returned."
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "The starting index of the returned templates."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of templates to return per page.\nNote, this may be restricted by fixed system limits."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "A multi-value parameter indicating which properties of the template\nto expand.\n\n- `body` returns the content of the template in storage format."
              }
            ]
          },
          "docs": "Returns all templates provided by blueprints. Use this method to retrieve<br>all global blueprint templates or all blueprint templates in a space.<br><br>Note, all global blueprints are inherited by each space. Space blueprints<br>can be customised without affecting the global blueprints.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'View' permission for the space to view blueprints for the space and permission<br>to access the Confluence site ('Can use' globa"
        },
        {
          "info": {
            "name": "Atlassian Get Content Templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/wiki/rest/api/template/page",
            "params": [
              {
                "name": "spaceKey",
                "value": "",
                "type": "query",
                "description": "The key of the space to be queried for templates. If the `spaceKey`\nis not specified, global templates will be returned."
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "The starting index of the returned templates."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "The maximum number of templates to return per page.\nNote, this may be restricted by fixed system limits."
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "A multi-value parameter indicating which properties of the template\nto expand.\n\n- `body` returns the content of the template in storage format."
              }
            ]
          },
          "docs": "Returns all content templates. Use this method to retrieve all global<br>content templates or all content templates in a space.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'View' permission for the space to view space templates and permission to<br>access the Confluence site ('Can use' global permission) to view global templates."
        },
        {
          "info": {
            "name": "Atlassian Get Content Template",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/wiki/rest/api/template/:contentTemplateId",
            "params": [
              {
                "name": "contentTemplateId",
                "value": "",
                "type": "path",
                "description": "The ID of the content template to be returned."
              }
            ]
          },
          "docs": "Returns a content template. This includes information about template,<br>like the name, the space or blueprint that the template is in, the body<br>of the template, and more.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'View' permission for the space to view space templates and permission to<br>access the Confluence site ('Can use' global permission) to view global templates."
        },
        {
          "info": {
            "name": "Atlassian Remove Template",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.atlassian.com/wiki/rest/api/template/:contentTemplateId",
            "params": [
              {
                "name": "contentTemplateId",
                "value": "",
                "type": "path",
                "description": "The ID of the template to be deleted."
              }
            ]
          },
          "docs": "Deletes a template. This results in different actions depending on the<br>type of template:<br><br>- If the template is a content template, it is deleted.<br>- If the template is a modified space-level blueprint template, it reverts<br>to the template inherited from the global-level blueprint template.<br>- If the template is a modified global-level blueprint template, it reverts<br>to the default global-level blueprint template.<br><br> Note, unmodified blueprint templates cannot be deleted.<br"
        },
        {
          "info": {
            "name": "Atlassian Create Content Template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/wiki/rest/api/template",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new content template. Note, blueprint templates cannot be created via the REST API.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'Admin' permission for the space to create a space template or 'Confluence Administrator'<br>global permission to create a global template."
        },
        {
          "info": {
            "name": "Atlassian Update Content Template",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/wiki/rest/api/template",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a content template. Note, blueprint templates cannot be updated<br>via the REST API.<br><br>**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:<br>'Admin' permission for the space to update a space template or 'Confluence Administrator'<br>global permission to update a global template."
        }
      ]
    }
  ],
  "bundled": true
}