gpt4 book ai didi

HTTP Error 204, while trying to delete user from AppStore connect Test Flight, using RestAPI(尝试使用RestAPI从AppStore连接测试飞行中删除用户时出现HTTP错误204)

转载 作者:bug小助手 更新时间:2023-10-25 21:28:23 30 4
gpt4 key购买 nike



When I try to delete an existing user from TestFlight, I receive http error 204 (no content), what does this mean? I am sure my-user-id is existing in TestFlight, I got it via API.

当我尝试从TestFlight中删除现有用户时,收到http错误204(无内容),这意味着什么?我确信TestFlight中存在my-user-id,我是通过API获取的。


curl --location --request DELETE 'https://api.appstoreconnect.apple.com/v1/betaTesters/{my-user-id}' \
--header 'Authorization: Bearer my-token'

更多回答

an HTTP status code 204 is generally a success indicator for DELETE operations. If you want to verify that the user has been deleted, make an API request to retrieve the list of users or specifically query for the user to ensure their absence in the list.

HTTP状态代码204通常是删除操作的成功指示符。如果要验证用户是否已被删除,请发出API请求以检索用户列表或专门查询用户以确保他们不在列表中。

Thanks, but the problem is user is not deleted!

谢谢,但问题是用户没有被删除!

i flag to display the response headers, ( including the status code.) E.g. curl -i --location --request DELETE 'api.appstoreconnect.apple.com/v1/betaTesters{my-user-id}' \ --header 'Authorization: Bearer my-token'. Is ther any more info

I用于显示响应头的标志(包括状态代码)。例如,CURL-i--Location--RequestDelete‘api.appstoreconnect.apple.com/v1/betaTesters{my-user-id}’\--Header‘Authorization:Beader My-Token’。有没有更多的消息

优秀答案推荐
更多回答

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com