Creates a namespace. Requires the admin token.
Changed onRequest
- Base URLhttps://api.rivet.dev
- URLhttps://api.rivet.dev/namespaces
- Auth
- HTTP bearer
- or API key in header x-rivet-token
Request body
Response
The created namespace.
Example response
{
"namespace": {
"name": "my-namespace"
}
}Changes
- breaking
added the pattern
^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$to the request property - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
the
request property's maxLength was set to63 - warning
removed the request property
- info
the endpoint scheme security
rivet_token_headerwas added to the API - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking