Download an App Password setup profile
GET
/api/v1/auth/app-password-profiles/{token}
const url = 'https://example.com/api/v1/auth/app-password-profiles/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/auth/app-password-profiles/exampleDownload the Apple configuration profile from a one-use link. A signed-in session is not required. The link expires after 10 minutes and stops working when the App Password is revoked. Route: /api/v1/auth/app-password-profiles/{token}. Inputs: token. Do not automatically replay this operation after an uncertain result.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
One-use profile delivery token
Responses
Section titled “Responses”Apple configuration profile
Media typeapplication/x-apple-aspen-config
string
Unknown, expired, consumed, or revoked profile link
Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{ "code": "example", "message": "example"}