# Create access assignment **POST /v1/Customers/delegated-admin-relationships/{relationshipId}/access-assignments** Links the given relationship with the security group configured in the portal. Relationship must be in active state and must not have an access assignment with the security group. **Available to the roles:** csp, reseller ## Servers - https://api.cloudcockpit.com: https://api.cloudcockpit.com () ## Authentication methods - Bearer auth ## Parameters ### Headers - **X-Tenant** (string) The domain used to access the portal. - **Authorization** (string) JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}" - **X-Correlation-Id** (string(uuid)) This header is optional and by setting it you can correlate the audit logs made by this request. ### Path parameters - **relationshipId** (string) Id of the relationship ### Query parameters - **providerInstanceId** (string(uuid)) Id of the provider instance where relationship is created ## Responses ### 200 OK ### 400 Bad Request #### Body: application/json (object) - **statusCode** (integer(int32)) The HTTP status code that represents a specific error scenario. - **type** (string | null) The type of error that occurred. - **description** (string | null) Describes the error scenario that occurred. - **correlationId** (string | null) The correlationId of the request that originated the error. - **errors** (array[object] | null) A list containing the detail of the errors that occurred in this error scenario. ### 401 Unauthorized ### 403 Forbidden [Powered by Bump.sh](https://bump.sh)