Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. NameSpace
  • Omni
  • Contact APIs
  • NameSpace
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Delete
      DELETE
  • Address
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Bank
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Props
    • Update Props
      PUT
    • Get Props
      GET
    • Delete Props
      DELETE
  • Relation
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Delete
      DELETE
  • Contact
    • Create
      POST
    • Update
      PATCH
    • List
      GET
    • Retrieve
      GET
    • Dedupe
      POST
    • Active
      PUT
    • Inactive
      PUT
    • Reject
      PUT
    • Approve
      PUT
  1. NameSpace

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
Name of namespace
contact_pattern
string 
optional
Contact ref id generation pattern
contact_counter
number 
optional
Contact sequence counter, default 1
account_pattern
string 
optional
Account ref id generation pattern
account_counter
number 
optional
Account sequence counter, default is 1
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
Name of namespace
contact_pattern
string 
optional
Contact ref id generation pattern
contact_counter
number 
optional
Contact sequence counter, default 1
account_pattern
string 
optional
Account ref id generation pattern
account_counter
number 
optional
Account sequence counter, default is 1
id
string 
optional
ID, 8-40 characters long, allowing alphanumeric characters.
>= 8 characters<= 40 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
created_at
string <date-time>
optional
Timestamp indicating when the entity was created, in ISO 8601 format.
created_by
string 
optional
Created by, 1-100 characters long, allowing alphanumeric characters, spaces, periods, underscores, and dashes.
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
updated_at
string <date-time>
optional
Timestamp indicating when the entity was last updated, in ISO 8601 format.
updated_by
string  | null 
optional
Updated by, 1-100 characters long, allowing alphanumeric characters, spaces, periods, underscores, and dashes.
<= 100 characters
Match pattern:
^[a-zA-Z0-9._-]{8,50}$
tenant_id
string 
optional
Tenant ID, 6-40 characters long, allowing alphanumeric characters.
<= 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"
}
Previous
Create
Next
List
Built with