Detach experience
Changed onDetaches an experience from a product, removing customer access to it through that product.
Required permissions:
- experience:detach
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The unique identifier of the experience to detach.
Request body
Parameters for RemoveExperienceFromAccessPass
The unique identifier of the product to detach the experience from.
Example request
{
"product_id": "prod_xxxxxxxxxxxxx"
}Response
A successful response
An experience is a feature or content module within a product, such as a chat, course, or custom app.
The app that powers this experience, defining its interface and behavior.
The company that owns this experience.
The datetime the experience was created.
The unique identifier for the experience.
The custom logo image for this experience. Null if no custom logo has been uploaded.
Whether this experience is publicly visible to all users, including those without a membership.
The display name of this experience shown to users in the product navigation. Maximum 255 characters.
The sort position of this experience within its section. Lower values appear first. Null if no position has been set.
The list of products this experience is attached to, which determines which customers have access. Empty if the experience is only visible to authorized company team members.
Example response
{
"app": {
"icon": {
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"id": "app_xxxxxxxxxxxxxx",
"name": "Courses"
},
"company": {
"id": "biz_xxxxxxxxxxxxxx",
"route": "shine-time-auto-detailing",
"title": "Shine Time Auto Detailing"
},
"created_at": "2023-12-01T05:00:00.401Z",
"id": "exp_xxxxxxxxxxxxxx",
"image": {
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"name": "Detailing Tips Chat",
"order": "123.45",
"products": [
{
"id": "prod_xxxxxxxxxxxxx",
"route": "ceramic-coating-package",
"title": "Ceramic Coating Package"
}
]
}Changes
- info
added the non-success response with the status
- info