DeleteAppMember - Delete an application member

Updated at:

Applicable versions

Central Edition, Region Edition

Endpoints and authorization information

  • Get an endpoint to replace {domain} in the API request syntax.
  • Get a personal access token.
  • Obtain the organization ID. This parameter is required only for the Central Edition. You can obtain the organization ID from the Basic Information page in the Tenant Management console.

Product

Resource

Required permission

Application Delivery

Application

Read/Write

Request syntax

Central Edition

DELETE https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}/members

Region Edition

DELETE https://{domain}/oapi/v1/appstack/apps/{appName}/members

Request headers

Parameter

Type

Required

Description

Example

x-yunxiao-token

string

Yes

Personal access token.

pt-0fh3****0fbG_35af****0484

Request parameters

Parameter

Type

Location

Required

Description

Example

appName

string

path

Yes

The application name.

my-demo-app

subjectType

string

query

Yes

The member type.

User

subjectId

string

query

Yes

The member ID.

anySubjectId

organizationId

string

path

  • Yes: Central Edition

  • No: Region Edition

The organization ID.

ec766e63aee3437d9a51f334d6exe671

Request examples

Central Edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/apps/my-demo-app/members?subjectType=User&subjectId=anySubjectId' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Region Edition

curl -X 'DELETE' \
  'https://{domain}/oapi/v1/appstack/apps/my-demo-app/members?subjectType=User&subjectId=anySubjectId' \
  -H 'Content-Type: application/json' \
  -H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'

Response parameters

Parameter

Type

Description

Example

-

string

Indicates whether the call is successful.

true

Response example

true

Error codes

For more information about API error codes, see the Error Code Center.