QuestionQ439

Understanding and Using APIs

Refer to the exhibit. Drag the code from the bottom to the missing-code boxes to delete Developer1 from the ACI programmers meeting room. Not every option is used.

Question Image

Drag & Drop
Y2lzY29zcGFyazovL3Vxxx.....
Y2lzY29zcGFyazovL3Vyyy.....
DELETE
Y2lzY29zcGFyazovL3Vwwww.....
GET
POST
devnetworkstation % curl --request  \
  --header "Authorization: Bearer AAAAATUxZDYxYjUtYzg4NC00YT" \
  "https://webexapis.com/v1/memberships?roomId="

devnetworkstation % curl --request  \
  --header "Authorization: Bearer AAAAATUxZDYxYjUtYzg4NC00YT" \
  "https://webexapis.com/v1/memberships/"
Explanation

List a room’s members with GET /v1/memberships?roomId={roomId}. Developer1’s returned membership ID is Y2lzY29zcGFyazovL3Vwwww.....; remove that member with DELETE /v1/memberships/{membershipId}.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!