GET Namespace Name

GET {{baseUrl}}/n/

Each Oracle Cloud Infrastructure tenant is assigned one unique and uneditable Object Storage namespace. The namespace is a system-generated string assigned during account creation. For some older tenancies, the namespace string may be the tenancy name in all lower-case letters. You cannot edit a namespace.

GetNamespace returns the name of the Object Storage namespace for the user making the request. If an optional compartmentId query parameter is provided, GetNamespace returns the namespace name of the corresponding tenancy, provided the user has access to it.

Request Params

KeyDatatypeRequiredDescription
compartmentIdstringThis is an optional field representing either the tenancy OCID or the compartment
OCID within the tenancy whose Object Storage namespace is to be retrieved.

HEADERS

KeyDatatypeRequiredDescription
opc-client-request-idstringThe client request ID for tracing.
Acceptstring

RESPONSES

status: OK

"pGaa2j]6LE"