调用ReturnJoinPermission归还租用的入网凭证(可以是专用入网凭证或泛在入网凭证)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
| 名称 | 类型 | 是否必选 | 示例值 | 描述 | 
|---|---|---|---|---|
| Action | String | 是 | ReturnJoinPermission | 
                               系统规定参数。取值:ReturnJoinPermission。  | 
                           
                        
| JoinPermissionId | String | 是 | 123 | 
                               要归还的入网凭证ID。  | 
                           
                        
| JoinPermissionType | String | 是 | LOCAL | 
                               要归还的入网凭证类型。 LOCAL:专用凭证 ROAMING:漫游凭证  | 
                           
                        
返回数据
| 名称 | 类型 | 示例值 | 描述 | 
|---|---|---|---|
| RequestId | String | 89EF6CAA-958F-F32C-BE45-FE003C6DE097 | 
                               请求ID。  | 
                           
                        
| Success | Boolean | true | 
                               是否成功。  | 
                           
                        
示例
请求示例
http(s)://linkwan.cn-shanghai.aliyuncs.com/?Action=ReturnJoinPermission
&JoinPermissionId=123
&JoinPermissionType=LOCAL
&<公共请求参数>
                  正常返回示例
XML格式
                  
<ReturnJoinPermissionResponse>
        <RequestId>89EF6CAA-958F-F32C-BE45-FE003C6DE097</RequestId>
        <Success>true</Success>
</ReturnJoinPermissionResponse>
                  JSON格式
                  
{
	"RequestId":"89EF6CAA-958F-F32C-BE45-FE003C6DE097",
	"Success":true
}
                  错误码
| HttpCode | 错误码 | 错误信息 | 描述 | 
|---|---|---|---|
| 400 | ForbiddenByRam | User not authorized to operate on the specified resource, or this API does not support RAM. | 用户没有执行该操作所需要的RAM权限。 | 
| 400 | ForbiddenByRiskControl | This operation cannot be performed because of security risks. | 存在安全风险,无法执行该操作 | 
| 400 | NonExistent | The specified resource does not exist. | 要操作的资源不存在。 | 
| 400 | InternalError | The request processing has failed due to some unknown error, exception or failure. | 内部错误。 | 
| 400 | CloudProductNotActivated | The Link WAN service has not been activated. | 未开通 Link WAN 云产品 | 
| 400 | FeatureNotActivated | The feature has not been activated. | 功能未开通 | 
| 400 | JoinPermissionAlreadyBoundNodeGroup | The specified join permission has already been bound to another node group. | 入网凭证已经绑定了节点组 | 
访问错误中心查看更多错误码。