# Organizations The Organizations API lets you create and manage [custom hostnames](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/custom-hostnames.html) in your organization. ## Create a custom hostname - [POST /api/admin/v1/hostnames](https://api-docs.sitecore.com/portal/edge-platform-admin-rest-api/organizations/post_em.md): Creates a custom hostname in your organization by specifying a , a , and a . Wildcards and apex domains are not currently supported for naming hostnames. The number of custom hostnames you can create is limited by your organization's XM Cloud account entitlement. If this limit is exceeded, an error message is returned, and the custom hostname won't be created. After it is created, the custom hostname details are stored and used to resolve and route traffic for incoming requests. ## List custom hostnames - [GET /api/admin/v1/hostnames](https://api-docs.sitecore.com/portal/edge-platform-admin-rest-api/organizations/get_sm.md): Retrieves the list of all custom hostnames in your organization. This lets you check if a certain hostname already exists. If the hostname exists and you need to retrieve, update, or delete it, you can use the appropriate endpoint to perform the desired action. ## Retrieve a custom hostname - [GET /api/admin/v1/hostnames/{hostname}](https://api-docs.sitecore.com/portal/edge-platform-admin-rest-api/organizations/get_im.md): Retrieves a specific custom hostname in your organization, including details such as , , and SSL certificate information. If you don't know the exact , first retrieve all custom hostnames within your organization using the List custom hostnames endpoint. ## Update a custom hostname - [PATCH /api/admin/v1/hostnames/{hostname}](https://api-docs.sitecore.com/portal/edge-platform-admin-rest-api/organizations/patch_am.md): Partially updates a custom hostname by replacing the , , or both, as needed. The itself cannot be updated after the custom hostname has been created and registered. As a workaround, you must delete the existing custom hostname and create a new one to change the . ## Delete a custom hostname - [DELETE /api/admin/v1/hostnames/{hostname}](https://api-docs.sitecore.com/portal/edge-platform-admin-rest-api/organizations/delete_rm.md): Deletes a custom hostname and all its associated details. This is an irreversible operation.