Update Namespace
Update Namespace
Path Parameters
id string required
application/json
Request Body required
namespace object
Responses
- 200
- 400
- 401
- 403
- 404
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
object
{}
Bad Request - The request was malformed or contained invalid parameters.
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Unauthorized - Authentication is required
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Forbidden - User does not have permission to access the resource
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Not Found - The requested resource was not found
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Internal Server Error. Returned when theres is something wrong with Frontier server.
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
PUT /v1beta1/namespaces/:id
Authorization
name: X-Auth-Emailtype: apiKeydescription: Email address of the userin: header
Request
Request
curl / cURL
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
python / requests
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
go / native
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
nodejs / axios
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
ruby / Net::HTTP
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
csharp / RestSharp
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
php / cURL
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
java / OkHttp
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'
powershell / RestMethod
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/namespaces/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Auth-Email: <API_KEY_VALUE>' \
--data-raw '{
"namespace": {
"id": "string",
"name": "string",
"state": "string",
"metadata": {},
"createdAt": "2023-01-01T00:00:00Z",
"updatedAt": "2023-01-01T00:00:00Z"
}
}'