{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Nomad HTTP ACL Namespaces API", "version": "1.9.0" }, "request": { "auth": { "type": "apikey", "key": "X-Nomad-Token", "value": "{{X-Nomad-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Namespaces", "type": "folder" }, "items": [ { "info": { "name": "List namespaces", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/namespaces", "params": [ { "name": "prefix", "value": "", "type": "query", "description": "Specifies a string to filter results based on an ID prefix." }, { "name": "next_token", "value": "", "type": "query", "description": "Indicates where to start paging for queries that support pagination." }, { "name": "per_page", "value": "", "type": "query", "description": "Maximum number of results to return per page." } ] }, "docs": "Lists all namespaces in the system." }, { "info": { "name": "Create or update a namespace", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:4646/v1/namespace", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new namespace or updates an existing one." }, { "info": { "name": "Read a namespace", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:4646/v1/namespace/:namespaceName", "params": [ { "name": "namespaceName", "value": "", "type": "path", "description": "The name of the namespace." } ] }, "docs": "Returns the details of the specified namespace." }, { "info": { "name": "Delete a namespace", "type": "http" }, "http": { "method": "DELETE", "url": "http://localhost:4646/v1/namespace/:namespaceName", "params": [ { "name": "namespaceName", "value": "", "type": "path", "description": "The name of the namespace." } ] }, "docs": "Deletes the specified namespace." } ] } ], "bundled": true }