Namespaces
Create a namespace
Changed onpost/api/v1/{tenant}/namespaces
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/v1/{tenant}/namespaces
- Auth: one of:
- HTTP bearer
- HTTP basic
Path parameters
tenantstring required
Request body
Example request
{
"variables": {
"key": "{}"
},
"secretConfiguration": {
"key": "{}"
},
"storageIsolation": {
"deniedServices": [
"EXECUTOR",
"EXECUTOR"
],
"enabled": true
},
"description": "description",
"pluginDefaults": [
{
"forced": true,
"values": "{}",
"type": "type"
},
{
"forced": true,
"values": "{}",
"type": "type"
}
],
"secretReadOnly": true,
"secretIsolation": {
"deniedServices": [
"EXECUTOR",
"EXECUTOR"
],
"enabled": true
},
"allowedNamespaces": [
{
"namespace": "namespace"
},
{
"namespace": "namespace"
}
],
"deleted": true,
"storageConfiguration": {
"key": "{}"
},
"secretType": "secretType",
"storageType": "storageType",
"id": "id",
"workerGroup": {
"fallback": "FAIL",
"key": "key"
},
"outputsInInternalStorage": true,
"sdkDefaultAuthentication": {
"password": "password",
"apiToken": "apiToken",
"username": "username"
}
}Response
createNamespace 200 response
Example response
{
"variables": {
"key": "{}"
},
"secretConfiguration": {
"key": "{}"
},
"storageIsolation": {
"deniedServices": [
"EXECUTOR",
"EXECUTOR"
],
"enabled": true
},
"description": "description",
"pluginDefaults": [
{
"forced": true,
"values": "{}",
"type": "type"
},
{
"forced": true,
"values": "{}",
"type": "type"
}
],
"secretReadOnly": true,
"secretIsolation": {
"deniedServices": [
"EXECUTOR",
"EXECUTOR"
],
"enabled": true
},
"allowedNamespaces": [
{
"namespace": "namespace"
},
{
"namespace": "namespace"
}
],
"deleted": true,
"storageConfiguration": {
"key": "{}"
},
"secretType": "secretType",
"storageType": "storageType",
"id": "id",
"workerGroup": {
"fallback": "FAIL",
"key": "key"
},
"outputsInInternalStorage": true,
"sdkDefaultAuthentication": {
"password": "password",
"apiToken": "apiToken",
"username": "username"
}
}Changes
- breaking
removed the required property
////from the response with the status - warning
removed the request property
//// - info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- breaking