GetNamespace

Updated at:
Copy as MD

Get namespace

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Name

string

Yes

Namespace name

my_namespace

ClientToken

string

No

Idempotency token

1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f

Catalog

string

No

Data catalog

my_catalog

Response elements

Element

Type

Description

Example

object

Message

string

API response message

Operation success

RequestId

string

Request ID

34AD682D-5B91-5773-8132-AA38C130****

Code

string

API response code. A value of 200 indicates success.

200

Success

boolean

Indicates whether the operation was successful

true

Data Namespace

Namespace details

Examples

Success response

JSON format

{
  "Message": "Operation success",
  "RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
  "Code": "200",
  "Success": true,
  "Data": {
    "Catalog": "my_catalog",
    "Name": "my_namespace",
    "Comment": "测试命名空间",
    "properties": "{\"key\":\"value\"}"
  }
}

Error codes

HTTP status code

Error code

Error message

Description

403 ServiceNotEnable Service not enable

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.