/sys/namespaces
The /sys/namespaces
endpoint is used manage namespaces in Vault.
List Namespaces
This endpoints lists all the namespaces.
Method | Path |
---|---|
LIST | /sys/namespaces |
Sample Request
Sample Response
Create Namespace
This endpoint creates a namespace at the givent path.
Method | Path |
---|---|
POST | /sys/namespaces/:path |
Parameters
path
(string: <required>)
– Specifies the path where the namespace will be namespace. This is specified as part of the URL.
Sample Request
Delete Namespace
This endpoint deletes a namespace at the specified path.
Method | Path |
---|---|
DELETE | /sys/namespaces/:path |
Sample Request
Read Namespace Information
This endpoint get the metadata for the given namespace path.
Method | Path |
---|---|
GET | /sys/namespaces/:path |
Sample Request
Sample Response