# 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.

 - [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 `hostname`, a `defaultSiteId`, and a `defaultContextId`. Wildcards and apex domains are not currently supported for naming hostnames. The
 - [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 c
 - [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 `defaultSiteId`, `defaultContextId`, and SSL certificate information. If you don't know the exact `hostname`, first
 - [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 `defaultSiteId`, `defaultContextId`, or both, as needed. The `hostname` itself cannot be updated after the custom hostname has been created and reg
 - [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.
