How Can I create a new App from API

Hi all, I am developing new things on my existing .Net core application. I want to create a new page and with this page, the users will create a new app and write important informations. But I cant create a new app with sending post request with connect API. Here is my Postman requests and body.

Sending request to : https://api.appstoreconnect.apple.com/v1/apps

Body :

{ "data": { "type": "apps", "attributes": { "bundleId": "com.test.testtest", "name": "Test Test", "primaryLocale": "en-US", "sku": "test2024", "platform": "IOS" } } }

Also I am using a bearer token, and this token has a admin role. When I send a post request, I am getting below error.

{ "errors": [ { "id": "35f9631f-b8d8-408c-8dfd-adaef043d062", "status": "403", "code": "FORBIDDEN_ERROR", "title": "The given operation is not allowed", "detail": "The resource 'apps' does not allow 'CREATE'. Allowed operations are: GET_COLLECTION, GET_INSTANCE, UPDATE" } ] }

How can I fix this. Pls help. Thanks.

Answered by Claude31 in 794580022

It seems the error is explicit: "The resource 'apps' does not allow 'CREATE'. Allowed operations are: GET_COLLECTION, GET_INSTANCE, UPDATE"

AFAIU, it is not possible to create an app in this way.

Accepted Answer

It seems the error is explicit: "The resource 'apps' does not allow 'CREATE'. Allowed operations are: GET_COLLECTION, GET_INSTANCE, UPDATE"

AFAIU, it is not possible to create an app in this way.

How Can I create a new App from API
 
 
Q