Update auth credentials for an App Store Connect or Google integration
Rotates auth credentials for an App Store Connect (Apple) or Google integration provider. Request body must be sent as multipart/form-data.
Apple (App Store Connect) — provide keyId, issuerId, and the .p8 key file. issuerId must match the integration's current issuer ID; to connect a different App Store Connect team, add a new integration instead. The new key is checked against App Store Connect first and the request fails if App Store Connect rejects it. The provider is updated in place, so its providerId does not change and all installations in the org that share it automatically pick up the new credentials.
curl -X POST \
-F "keyId=ABCD1234" \
-F "issuerId=12345678-1234-1234-1234-123456789012" \
-F "key=@AuthKey_ABCD1234.p8" \
-H "X-API-KEY:API-KEY" \
https://api.runway.team/v1/app/{appId}/integration/{integrationInstallationId}/updateAuth
Google — provide only the .json service account key file. keyId and issuerId must not be sent. The provider row is updated in place to reference the new key file; all installations sharing that provider automatically pick up the new credentials.
curl -X POST \
-F "key=@service-account.json" \
-H "X-API-KEY:API-KEY" \
https://api.runway.team/v1/app/{appId}/integration/{integrationInstallationId}/updateAuth
Request
- Base URLhttps://api.runway.team
- URLhttps://api.runway.team/app/{appId}/integration/{integrationInstallationId}/updateAuth
- AuthAPI key in header X-API-Key
Path parameters
The id of the app
The unique installation ID for the integration. Found in the corresponding integration settings in Runway. Has the format <integration type>:<random string>, for example custom-ci:d5onv9mfdkkqlsl3cie0.
Request body multipart/form-data
Example request
{
"keyId": "ABCD1234",
"issuerId": "12345678-1234-1234-1234-123456789012"
}Response
Successfully updated integration auth
Example response
{
"providerId": "apple:ABCD1234-12345678-1234-1234-1234-123456789012",
"integrationType": "apple",
"keyId": "ABCD1234",
"issuerId": "12345678-1234-1234-1234-123456789012"
}Changes
No recorded changes to this operation across all 1 revision of this API.