CreateAppMembers
Creates an application member.
Try it now
Test
RAM authorization
Request syntax
POST /appstack/apps/{appName}/members HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appName |
string |
No |
The application name. |
testApp |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
No |
The enterprise ID. |
66c0c9fffeb86b450c199fcd |
| body |
object |
No |
The request struct. |
|
| roleNames |
array |
No |
The list of roles to assign to the member. |
|
|
string |
No |
The role name. Valid values:
|
developer |
|
| playerList |
array<object> |
No |
The list of members to add. |
|
|
object |
No |
|||
| id |
string |
No |
The member ID. If the type is User, this is the Alibaba Cloud UID of the member. |
1332695887xxxxxx |
| type |
string |
No |
The member type. Currently, only User is supported. |
User |
Response elements
|
Element |
Type |
Description |
Example |
|
string |
The request ID. Each request has a unique ID for troubleshooting. |
FC93CE1A-8D7A-13A9-8306-7465DE2E5C0F |
Examples
Success response
JSON format
"FC93CE1A-8D7A-13A9-8306-7465DE2E5C0F"
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.