curl --request PUT \
--url https://api.eda.prisme.ai/v2/user/active-org \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"orgSlug": "<string>"
}
'{
"org": {
"slug": "<string>",
"name": "<string>",
"status": "<string>",
"branding": {},
"navigation": {
"version": 123,
"homePage": "<string>",
"menu": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"footer": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"quickActions": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
]
},
"role": {
"slug": "<string>",
"name": "<string>",
"permissions": [
"<string>"
],
"scopes": [
"<string>"
]
},
"groups": [
"<string>"
],
"settings": {},
"subscription": {
"slug": "<string>",
"name": "<string>",
"tier": "<string>",
"status": "active",
"id": "<string>",
"plan": "<string>",
"isDefault": true,
"limits": {},
"features": {},
"billing": {},
"startedAt": "<string>",
"expiresAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
},
"permissions": [
"<string>"
],
"organizations": [
{
"slug": "<string>",
"name": "<string>",
"roleSlug": "<string>",
"groups": [
"<string>"
]
}
]
}Set the active organization for the current session
curl --request PUT \
--url https://api.eda.prisme.ai/v2/user/active-org \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"orgSlug": "<string>"
}
'{
"org": {
"slug": "<string>",
"name": "<string>",
"status": "<string>",
"branding": {},
"navigation": {
"version": 123,
"homePage": "<string>",
"menu": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"footer": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
],
"quickActions": [
{
"id": "<string>",
"type": "category",
"label": "<string>",
"icon": "<string>",
"color": "<string>",
"href": "<string>",
"target": "_self",
"expanded": true,
"badge": "<string>",
"permissions": [
"<string>"
],
"features": [
{
"type": "agent",
"slug": "<string>",
"label": "<string>",
"agentId": "<string>",
"templateId": "<string>",
"permissions": [
"<string>"
]
}
],
"visibility": {
"tiers": [
"<string>"
],
"features": [
"<string>"
]
},
"items": "<array>"
}
]
},
"role": {
"slug": "<string>",
"name": "<string>",
"permissions": [
"<string>"
],
"scopes": [
"<string>"
]
},
"groups": [
"<string>"
],
"settings": {},
"subscription": {
"slug": "<string>",
"name": "<string>",
"tier": "<string>",
"status": "active",
"id": "<string>",
"plan": "<string>",
"isDefault": true,
"limits": {},
"features": {},
"billing": {},
"startedAt": "<string>",
"expiresAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
}
},
"permissions": [
"<string>"
],
"organizations": [
{
"slug": "<string>",
"name": "<string>",
"roleSlug": "<string>",
"groups": [
"<string>"
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?