---
title: Assign builds to an app encryption declaration
framework: appstoreconnectapi
role: symbol
role_heading: Web Service Endpoint
path: appstoreconnectapi/post-v1-appencryptiondeclarations-_id_-relationships-builds
---

# Assign builds to an app encryption declaration

Assign one or more builds to an app encryption declaration.

## URL

POST https://api.appstoreconnect.apple.com/v1/appEncryptionDeclarations/{id}/relationships/builds

## Path Parameters

id: An opaque resource ID that uniquely identifies the resource. Obtain the app encryption declaration resource ID from the List app encryption declarations response.

## Response Codes

204 No Content: 400 Bad Request: 401 Unauthorized: 403 Forbidden: Request not authorized. 404 Not Found: Resource not found. 409 Conflict: The provided resource data is not valid. 422 : 429 :

## See Also

### Assigning App Encryption Declarations

- [Create an app encryption declaration](appstoreconnectapi/post-v1-appencryptiondeclarations.md)
