更新时间:2023-12-18 GMT+08:00
分享

CreateJoinRequest接口

功能介绍

create a join-request

调试

您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。

URI

POST /v2/aims/codemodelserver/join-request

请求参数

表1 请求Header参数

参数

是否必选

参数类型

描述

x-auth-token

String

iam x-auth-token

表2 请求Body参数

参数

是否必选

参数类型

描述

region

String

the region of user

name

String

the name of user

email

String

the email of user

organization

String

the organization of user

phone_number

String

the phone_number of user

invitation_code

String

the invitation_code

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

message

String

the message of join-request

status

String

the status of join-request(success/error/conflict)

请求示例

创建一个地域在北京,用户名为“name”,邮箱为“email@codeartssnap.com”,组织为“huawei”的用户。

POST https://{endpoint}/v2/aims/codemodelserver/join-request

{
  "region" : "北京",
  "name" : "name",
  "email" : "email@codeartssnap.com",
  "organization" : "huawei",
  "phone_number" : "13666666666",
  "invitation_code" : "gouliguojiashengsiyi"
}

响应示例

状态码: 200

Successful Response

{
  "message" : "null",
  "status" : "success"
}

状态码

状态码

描述

200

Successful Response

错误码

请参见错误码

分享:

    相关文档

    相关产品