- Omni
- Contact APIs
- NameSpace
- Address
- Bank
- Props
- Relation
- Contact
Update
Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
PATCH
/namespaces/{namespace_id}/
Last modified:2025-04-10 10:30:53
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
namespace_id
string
required
Body Params application/json
name
string
required
contact_pattern
string
optional
contact_counter
number
optional
account_pattern
string
optional
account_counter
number
optional
Example
{
"name": "string",
"contact_pattern": "string",
"contact_counter": 0,
"account_pattern": "string",
"account_counter": 0
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://preprod.api.crego.io/namespaces//' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"contact_pattern": "string",
"contact_counter": 0,
"account_pattern": "string",
"account_counter": 0
}'
Responses
🟢200Success
application/json
Body
name
string
required
contact_pattern
string
optional
contact_counter
number
optional
account_pattern
string
optional
account_counter
number
optional
id
string
optional
>= 8 characters<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
created_at
string <date-time>
optional
created_by
string
optional
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
updated_at
string <date-time>
optional
updated_by
string | null
optional
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
tenant_id
string
optional
<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
Example
{
"name": "string",
"contact_pattern": "string",
"contact_counter": 0,
"account_pattern": "string",
"account_counter": 0,
"id": "stringst",
"created_at": "2019-08-24T14:15:22Z",
"created_by": "string",
"updated_at": "2019-08-24T14:15:22Z",
"updated_by": "string",
"tenant_id": "string"
}