Help Center/ ServiceStage/ API Reference/ Historical APIs/ Service Transparent Transmission/ Obtaining the Authorization Information of the Current Cloud Service
Updated on 2025-09-25 GMT+08:00

Obtaining the Authorization Information of the Current Cloud Service

Function

This API is used to obtain the authorization information of the current user.

URI

GET /v1/ss-service/agency

Table 1 describes the parameters.

Request

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format). Default value: application/json;charset=utf8.

X-Auth-Token

Yes

String

API calling can be authenticated using a token or AK/SK. If you use a token, this parameter is mandatory and must be set to the token. For details about how to obtain a token, see Obtaining a User Token.

Table 2 Query parameter

Parameter

Mandatory

Type

Description

agencyName

Yes

String

Fixed value: ServiceStageAgency.

Response

Table 3 Response

Parameter

Type

Description

exist

Object

Existing role information. See Table 4.

Table 4 Existing permission information

Parameter

Type

Description

MOS

bool

MOS permission.

cce_adm

bool

CCE admin permission.

mos_agency

bool

MOS agency permission.

ss_agency

bool

ServiceStage agency permissions.

swr_adm

bool

SWR admin permission.

te_admin

bool

Administrator permissions.

Example Request

None

Example Response

{
 "project_id": "xxx",
 "resourceSpecCode": "servicestage.professional",
 "applications": 1
}

Status Code

Status Code

Description

200

OK

400

Bad Request

Error Code

The error code format is SVCSTG.SS.[Error_ID], for example, SVCSTG.SS.5004401. For details, see ServiceStage Error Codes.