Rename an app
const url = 'https://api.aetherpush.com/v1/apps/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"my-renamed-app"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.aetherpush.com/v1/apps/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "my-renamed-app" }'Updates the app’s name. Requires the app.manage permission (Owner). Note that renaming changes the resource path — clients must update their references.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The app name. Note that renaming an app changes this path.
Request Bodyrequired
Section titled “Request Bodyrequired”Body shape for renaming an app. All fields optional.
object
Example
{ "name": "my-renamed-app"}Responses
Section titled “Responses”App renamed.
object
object
Map keyed by collaborator email.
object
object
App role. Owner controls the app; Admin manages collaborators and deployments on top of Developer; Developer performs release operations; Viewer is read-only.
List of deployment names registered under this app.
Named permissions the requesting account holds on this app.
Example
{ "app": { "name": "my-react-native-app", "collaborators": { "alice@example.com": { "permission": "Owner", "isCurrentAccount": true }, "bob@example.com": { "permission": "Developer" }, "carol@example.com": { "permission": "Viewer" } }, "deployments": [ "Production", "Staging" ], "capabilities": [ "app.read" ] }}Insufficient permissions (app.manage required).
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}App not found.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}Another app with that name already exists.
object
Human-readable error message.
Unique identifier for the request, also exposed as the X-Request-Id response header.
Example
{ "error": "The requested resource was not found.", "requestId": "req_abc123"}