Delegates a deactivated profile (team_user_id) to an active member (target_team_user_id). The delegated profile’s email is rewritten to delegate-xxx@manus.im and the original email is preserved in original_email. Pre-checks: the source must be currently INACTIVE, the target must be an active non-delegated member, and the source cannot be the team owner.
Source must be deactivated:team_user_id (the source profile) must currently have status = USER_STATUS_INACTIVE. Active members and already-removed users are rejected with failed_precondition — call team.user.update with status: USER_STATUS_INACTIVE first if needed.Target must be active and never delegated:target_team_user_id must be an active team member that is not currently a delegated profile. This prevents cycles and ownership-laundering through chained delegations.Owner cannot be delegated: The team owner’s profile is rejected with failed_precondition.Email rewrite: On success, the source’s email becomes delegate-<id>@manus.im and the original is preserved in original_email. Subsequent operations on this profile must use team_user_id.Role (required): uses the MigratedProfileRole enum, distinct from the TeamMemberRole used elsewhere. Send MIGRATED_PROFILE_ROLE_MEMBER to activate as a regular member, MIGRATED_PROFILE_ROLE_FREE_GUEST to activate as a free (non-seat-consuming) guest, or MIGRATED_PROFILE_ROLE_DEACTIVATED to keep the profile in the deactivated pool under the new assignee. MIGRATED_PROFILE_ROLE_UNSPECIFIED is rejected — the field must carry an explicit value.Protocols: Also callable via Connect RPC. See Protocols.
Authorizations
X-API-Key
string
header
required
Body
application/json
team_user_id
string
required
ID of the deactivated profile being delegated.
Required string length: 1 - 64
Example:
"123456"
target_team_user_id
string
required
ID of the active member receiving the delegation.
Required string length: 1 - 64
Example:
"654321"
role
enum<string>
required
Post-delegation role for the source profile. Required — MIGRATED_PROFILE_ROLE_UNSPECIFIED is rejected. Use MIGRATED_PROFILE_ROLE_MEMBER to activate as a regular member, MIGRATED_PROFILE_ROLE_FREE_GUEST to activate as a free guest, or MIGRATED_PROFILE_ROLE_DEACTIVATED to keep the profile deactivated under the new assignee.
Available options:
MIGRATED_PROFILE_ROLE_MEMBER,
MIGRATED_PROFILE_ROLE_FREE_GUEST,
MIGRATED_PROFILE_ROLE_DEACTIVATED
Response
Profile delegated successfully.
ok
boolean
Example:
true
request_id
string
user
object
A team member.
Hide child attributes
user.email
string
Email address. After delegation this field becomes delegate-xxx@manus.im — the pre-delegation address is preserved in original_email.
user.status
enum<string>
Status of a team member.
Available options:
USER_STATUS_ACTIVE,
USER_STATUS_INACTIVE,
USER_STATUS_REMOVED
user.role
enum<string>
Team role. TEAM_MEMBER_ROLE_OWNER is read-only and cannot be granted via API (transfer ownership in the UI). Guest members do not consume a paid seat.
Available options:
TEAM_MEMBER_ROLE_OWNER,
TEAM_MEMBER_ROLE_ADMIN,
TEAM_MEMBER_ROLE_MEMBER,
TEAM_MEMBER_ROLE_SUPER_ADMIN,
TEAM_MEMBER_ROLE_GUEST
user.user_name
string
Display name. Sourced from team_user_relation.Name (set via team.user.rename) when present, otherwise falls back to the underlying user's name. Omitted when neither is set.
user.team_user_id
string
Stable identifier for the team member, unique within the team. Use this (not email) for any subsequent profile-management call.
user.delegated_to
string
If this profile is currently delegated, the team_user_id of the assignee.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Manus Enterprise API","colors":{"primary":"#34322D","light":"#666666","dark":"#333333"},"logo":{"light":"https://mintcdn.com/manus-team-api-doc/E90aLBHgJAGH7LrV/logo/light.svg?fit=max\u0026auto=format\u0026n=E90aLBHgJAGH7LrV\u0026q=85\u0026s=f7e4e0145ed55f41f158f1b8a7101743","dark":"https://mintcdn.com/manus-team-api-doc/E90aLBHgJAGH7LrV/logo/dark.svg?fit=max\u0026auto=format\u0026n=E90aLBHgJAGH7LrV\u0026q=85\u0026s=abf87215d3b40a672da0edfd18fd8329"},"favicon":"https://mintcdn.com/manus-team-api-doc/E90aLBHgJAGH7LrV/favicon.ico?fit=max\u0026auto=format\u0026n=E90aLBHgJAGH7LrV\u0026q=85\u0026s=687cac27020d1e5dcc750acefef3ce84","api":{"params":{"expanded":"all"},"examples":{"defaults":"required","prefill":true}},"seo":{"metatags":{"robots":"noindex, nofollow","googlebot":"noindex, nofollow"}},"fonts":{"heading":{"family":"San Francisco"},"body":{"family":"San Francisco"}},"contextual":{"options":["copy","view"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"manus-team-api-doc","hasAudioNarration":false,"actualSubdomain":"manus-team-api-doc","customDomains":["docs.manus.ai"],"gitSource":{"type":"github","owner":"manus-ai","repo":"manus-api-doc","deployBranch":"docs","contentDirectory":"team","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeda110e0f593fc3df251d7","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Team User Management","count":20},{"language":"default","tag":"Enterprise Data Export","count":13},{"language":"default","tag":"Getting Started","count":6},{"language":"default","tag":"Enterprise SIEM Integrations","count":5},{"language":"default","tag":"Shared Team Asset Governance","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"enterprise/v2/team.user.delegate","slug":"/enterprise/v2/team.user.delegate","pageMetadata":{"title":"team.user.delegate","openapi":"POST /v2/team.user.delegate","description":"Delegates a deactivated profile (`team_user_id`) to an active member (`target_team_user_id`). The delegated profile's `email` is rewritten to `delegate-xxx@manus.im` and the original email is preserved in `original_email`. Pre-checks: the source must be currently `INACTIVE`, the target must be an active non-delegated member, and the source cannot be the team owner.","href":"/enterprise/v2/team.user.delegate"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Delegates a deactivated profile (\", _jsx(_components.code, {\n children: \"team_user_id\"\n }), \") to an active member (\", _jsx(_components.code, {\n children: \"target_team_user_id\"\n }), \"). The delegated profile’s \", _jsx(_components.code, {\n children: \"email\"\n }), \" is rewritten to \", _jsx(_components.code, {\n children: \"delegate-xxx@manus.im\"\n }), \" and the original email is preserved in \", _jsx(_components.code, {\n children: \"original_email\"\n }), \". Pre-checks: the source must be currently \", _jsx(_components.code, {\n children: \"INACTIVE\"\n }), \", the target must be an active non-delegated member, and the source cannot be the team owner.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Tip}=_components;if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsxs(`sup`,{children:[`Questions or issues? Contact us at `,_jsx(_components.a,{href:`mailto:api-support@manus.ai`,children:`api-support@manus.ai`}),`.`]}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Source must be deactivated:`}),` `,_jsx(_components.code,{children:`team_user_id`}),` (the source profile) must currently have `,_jsx(_components.code,{children:`status = USER_STATUS_INACTIVE`}),`. Active members and already-removed users are rejected with `,_jsx(_components.code,{children:`failed_precondition`}),` — call `,_jsx(_components.a,{href:`/enterprise/v2/team.user.update`,children:`team.user.update`}),` with `,_jsx(_components.code,{children:`status: USER_STATUS_INACTIVE`}),` first if needed.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Target must be active and never delegated:`}),` `,_jsx(_components.code,{children:`target_team_user_id`}),` must be an active team member that is not currently a delegated profile. This prevents cycles and ownership-laundering through chained delegations.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Owner cannot be delegated:`}),` The team owner’s profile is rejected with `,_jsx(_components.code,{children:`failed_precondition`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Email rewrite:`}),` On success, the source’s `,_jsx(_components.code,{children:`email`}),` becomes `,_jsx(_components.code,{children:`delegate-\u003cid>@manus.im`}),` and the original is preserved in `,_jsx(_components.code,{children:`original_email`}),`. Subsequent operations on this profile must use `,_jsx(_components.code,{children:`team_user_id`}),`.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Role (required):`}),` uses the `,_jsx(_components.code,{children:`MigratedProfileRole`}),` enum, distinct from the `,_jsx(_components.code,{children:`TeamMemberRole`}),` used elsewhere. Send `,_jsx(_components.code,{children:`MIGRATED_PROFILE_ROLE_MEMBER`}),` to activate as a regular member, `,_jsx(_components.code,{children:`MIGRATED_PROFILE_ROLE_FREE_GUEST`}),` to activate as a free (non-seat-consuming) guest, or `,_jsx(_components.code,{children:`MIGRATED_PROFILE_ROLE_DEACTIVATED`}),` to keep the profile in the deactivated pool under the new assignee. `,_jsx(_components.code,{children:`MIGRATED_PROFILE_ROLE_UNSPECIFIED`}),` is rejected — the field must carry an explicit value.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Protocols:`}),` Also callable via Connect RPC. See `,_jsx(_components.a,{href:`/enterprise/v2/protocols`,children:`Protocols`}),`.`]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"team.user.delegate","openapi":"POST /v2/team.user.delegate","description":"Delegates a deactivated profile (`team_user_id`) to an active member (`target_team_user_id`). The delegated profile's `email` is rewritten to `delegate-xxx@manus.im` and the original email is preserved in `original_email`. Pre-checks: the source must be currently `INACTIVE`, the target must be an active non-delegated member, and the source cannot be the team owner.","href":"/enterprise/v2/team.user.delegate"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"DelegateProfile","description":"Delegates a deactivated profile (`team_user_id`) to an active member (`target_team_user_id`). The delegated profile's `email` is rewritten to `delegate-xxx@manus.im` and the original email is preserved in `original_email`. Pre-checks: the source must be currently `INACTIVE`, the target must be an active non-delegated member, and the source cannot be the team owner.","operationId":"team.v2.TeamUserManagementApiV2Service.DelegateProfile","requestBody":"26f2c770-f96c-4e1e-b740-7e9aed6544c4","responses":{"200":"02abaea4-183a-408c-a067-c4d636638586","4XX":"b3c1c90a-5314-4330-91a1-4f704e3110be"},"method":"post","type":"path","servers":["d560a130-5ae5-495c-8add-83138f7e7d23"],"security":["c8d9e9d7-feaa-4db6-a155-bf67ac945617"],"path":"/v2/team.user.delegate","baseUrlOptions":["https://api.manus.im"],"title":"DelegateProfile","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.team_user_id":"123456","body.target_team_user_id":"654321"}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["team_user_id","target_team_user_id","role"],"properties":{"team_user_id":{"type":"string","minLength":1,"maxLength":64,"description":"ID of the deactivated profile being delegated.","example":"123456","isRequired":true,"uniqueKey":"team_user_id","typeLabel":"string"},"target_team_user_id":{"type":"string","minLength":1,"maxLength":64,"description":"ID of the active member receiving the delegation.","example":"654321","isRequired":true,"uniqueKey":"target_team_user_id","typeLabel":"string"},"role":{"type":"string","description":"Post-delegation role for the source profile. Required — `MIGRATED_PROFILE_ROLE_UNSPECIFIED` is rejected. Use `MIGRATED_PROFILE_ROLE_MEMBER` to activate as a regular member, `MIGRATED_PROFILE_ROLE_FREE_GUEST` to activate as a free guest, or `MIGRATED_PROFILE_ROLE_DEACTIVATED` to keep the profile deactivated under the new assignee.","enum":["MIGRATED_PROFILE_ROLE_MEMBER","MIGRATED_PROFILE_ROLE_FREE_GUEST","MIGRATED_PROFILE_ROLE_DEACTIVATED"],"isRequired":true,"uniqueKey":"role","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"team_user_id":"123456","target_team_user_id":"654321"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"02abaea4-183a-408c-a067-c4d636638586":{"description":"Profile delegated successfully.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","example":true,"uniqueKey":"ok","typeLabel":"boolean"},"request_id":{"type":"string","uniqueKey":"request_id","typeLabel":"string"},"user":{"type":"object","description":"A team member.","properties":{"email":{"type":"string","description":"Email address. After delegation this field becomes `delegate-xxx@manus.im` — the pre-delegation address is preserved in `original_email`.","uniqueKey":"user.email","typeLabel":"string"},"status":{"type":"string","description":"Status of a team member.","enum":["USER_STATUS_ACTIVE","USER_STATUS_INACTIVE","USER_STATUS_REMOVED"],"uniqueKey":"user.status","typeLabel":"enum\u003cstring>"},"role":{"type":"string","description":"Team role. `TEAM_MEMBER_ROLE_OWNER` is read-only and cannot be granted via API (transfer ownership in the UI). Guest members do not consume a paid seat.","enum":["TEAM_MEMBER_ROLE_OWNER","TEAM_MEMBER_ROLE_ADMIN","TEAM_MEMBER_ROLE_MEMBER","TEAM_MEMBER_ROLE_SUPER_ADMIN","TEAM_MEMBER_ROLE_GUEST"],"uniqueKey":"user.role","typeLabel":"enum\u003cstring>"},"user_name":{"type":"string","description":"Display name. Sourced from `team_user_relation.Name` (set via [team.user.rename](/enterprise/v2/team.user.rename)) when present, otherwise falls back to the underlying user's name. Omitted when neither is set.","uniqueKey":"user.user_name","typeLabel":"string"},"team_user_id":{"type":"string","description":"Stable identifier for the team member, unique within the team. Use this (not `email`) for any subsequent profile-management call.","uniqueKey":"user.team_user_id","typeLabel":"string"},"delegated_to":{"type":"string","description":"If this profile is currently delegated, the `team_user_id` of the assignee.","uniqueKey":"user.delegated_to","typeLabel":"string"},"delegated_profiles":{"type":"array","items":{"type":"object","description":"A profile delegated to another team member.","properties":{"team_user_id":{"type":"string","description":"ID of the delegated profile.","uniqueKey":"user.delegated_profiles.items.[INDEX].team_user_id","typeLabel":"string"},"display_name":{"type":"string","description":"Display name. Falls back to the original (pre-delegation) email when the profile has no name set.","uniqueKey":"user.delegated_profiles.items.[INDEX].display_name","typeLabel":"string"},"role":{"type":"string","description":"Team role. `TEAM_MEMBER_ROLE_OWNER` is read-only and cannot be granted via API (transfer ownership in the UI). Guest members do not consume a paid seat.","enum":["TEAM_MEMBER_ROLE_OWNER","TEAM_MEMBER_ROLE_ADMIN","TEAM_MEMBER_ROLE_MEMBER","TEAM_MEMBER_ROLE_SUPER_ADMIN","TEAM_MEMBER_ROLE_GUEST"],"uniqueKey":"user.delegated_profiles.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"delegated_at":{"type":"string","format":"date-time","description":"When the delegation was created.","uniqueKey":"user.delegated_profiles.items.[INDEX].delegated_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"user.delegated_profiles.items.[INDEX]","typeLabel":"object"},"description":"Profiles delegated to this user. Only populated by single-record responses ([team.user.detail](/enterprise/v2/team.user.detail), [team.user.update](/enterprise/v2/team.user.update), etc.). [team.user.list](/enterprise/v2/team.user.list) omits this field to avoid N+1 fan-out.","uniqueKey":"user.delegated_profiles","typeLabel":"object[]"},"original_email":{"type":"string","description":"Pre-delegation email. Only present for currently-delegated profiles.","uniqueKey":"user.original_email","typeLabel":"string"}},"uniqueKey":"user","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":true,"request_id":"\u003cstring>","user":{"email":"\u003cstring>","status":"USER_STATUS_ACTIVE","role":"TEAM_MEMBER_ROLE_OWNER","user_name":"\u003cstring>","team_user_id":"\u003cstring>","delegated_to":"\u003cstring>","delegated_profiles":[{"team_user_id":"\u003cstring>","display_name":"\u003cstring>","role":"TEAM_MEMBER_ROLE_OWNER","delegated_at":"2023-11-07T05:31:56Z"}],"original_email":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b3c1c90a-5314-4330-91a1-4f704e3110be":{"description":"Error response. `failed_precondition` if the source is not deactivated, the target is itself a delegated profile, or the source is the team owner.","content":{"application/json":{"schema":{"type":"object","description":"Standard error response format returned when a request fails.","properties":{"ok":{"type":"boolean","example":false,"description":"Always false for error responses.","uniqueKey":"ok","typeLabel":"boolean"},"request_id":{"type":"string","description":"Unique identifier for this API request, useful for debugging with support.","uniqueKey":"request_id","typeLabel":"string"},"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Machine-readable error code: `invalid_argument`, `not_found`, `already_exists`, `permission_denied`, `failed_precondition`, or `internal`.","uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Human-readable error description.","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ok":false,"request_id":"\u003cstring>","error":{"code":"\u003cstring>","message":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"c8d9e9d7-feaa-4db6-a155-bf67ac945617":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[]}}},"servers":{"d560a130-5ae5-495c-8add-83138f7e7d23":{"url":"https://api.manus.im"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","scopes":[]},"schema":{"title":"X-API-Key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"X-API-Key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"enterprise/v2/openapi_user_mgmt_v2.json"},"subdomain":"manus-team-api-doc","siteName":"Manus Enterprise API","title":"team.user.delegate - Manus Enterprise API","navMaps":{"firstHrefInVersion":{"v2":{"href":"/enterprise/v2/team.user.delegate","matchLevel":0},"v1":{"href":"/enterprise/v1/user-management-overview","matchLevel":2}},"firstHrefInLanguage":{}},"lastModified":"2026-05-11T07:34:17.411Z","originalFileLocation":"enterprise/v2/team.user.delegate.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Delegates a deactivated profile (team_user_id) to an active member (target_team_user_id). The delegated profile\u0026#x27;s email is rewritten to delegate-xxx@manus.im and the original email is preserved in original_email. Pre-checks: the source must be currently INACTIVE, the target must be an active non-delegated member, and the source cannot be the team owner.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Manus Enterprise API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"team.user.delegate - Manus Enterprise API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Delegates a deactivated profile (team_user_id) to an active member (target_team_user_id). The delegated profile\u0026#x27;s email is rewritten to delegate-xxx@manus.im and the original email is preserved in original_email. Pre-checks: the source must be currently INACTIVE, the target must be an active non-delegated member, and the source cannot be the team owner.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Manus Enterprise API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.manus.ai/enterprise/v2/team.user.delegate\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://manus-team-api-doc.mintlify.site/_mintlify/api/og/v2?division=Team+User+Management\u0026amp;title=team.user.delegate\u0026amp;description=Delegates+a+deactivated+profile+%28%60team_user_id%60%29+to+an+active+member+%28%60target_team_user_id%60%29.+The+delegated+profile%27s+%60email%60+is+rewritten+to+%60delegate-xxx%40manu\u0026amp;theme=7d722fa287f6e6b152d43a0d\u0026amp;signature=2089724c8dffb7f840194fb842f2e6096b2f3473c6a46500f3fe41d0a44679c8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"team.user.delegate - Manus Enterprise API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Delegates a deactivated profile (team_user_id) to an active member (target_team_user_id). The delegated profile\u0026#x27;s email is rewritten to delegate-xxx@manus.im and the original email is preserved in original_email. Pre-checks: the source must be currently INACTIVE, the target must be an active non-delegated member, and the source cannot be the team owner.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://manus-team-api-doc.mintlify.site/_mintlify/api/og/v2?division=Team+User+Management\u0026amp;title=team.user.delegate\u0026amp;description=Delegates+a+deactivated+profile+%28%60team_user_id%60%29+to+an+active+member+%28%60target_team_user_id%60%29.+The+delegated+profile%27s+%60email%60+is+rewritten+to+%60delegate-xxx%40manu\u0026amp;theme=7d722fa287f6e6b152d43a0d\u0026amp;signature=2089724c8dffb7f840194fb842f2e6096b2f3473c6a46500f3fe41d0a44679c8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/manus-team-api-doc/lKmThK3wASB3wMlD/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Manus Enterprise API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#34322D\">\u003cmeta data-mint-head name=\"googlebot\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.manus.ai/enterprise/v2/team.user.delegate\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/enterprise/v2/team.user.delegate.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.manus.ai/#organization\",\"name\":\"Manus Enterprise API\",\"url\":\"https://docs.manus.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/manus-team-api-doc/E90aLBHgJAGH7LrV/logo/light.svg?fit=max\u0026auto=format\u0026n=E90aLBHgJAGH7LrV\u0026q=85\u0026s=f7e4e0145ed55f41f158f1b8a7101743\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.manus.ai#website\",\"name\":\"Manus Enterprise API\",\"url\":\"https://docs.manus.ai\",\"publisher\":{\"@id\":\"https://docs.manus.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate#webpage\",\"url\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate\",\"name\":\"team.user.delegate\",\"description\":\"Delegates a deactivated profile (team_user_id) to an active member (target_team_user_id). The delegated profile's email is rewritten to delegate-xxx@manus.im and the original email is preserved in original_email. Pre-checks: the source must be currently INACTIVE, the target must be an active non-delegated member, and the source cannot be the team owner.\",\"dateModified\":\"2026-05-11T07:34:17.411Z\",\"isPartOf\":{\"@id\":\"https://docs.manus.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Team User Management\",\"item\":\"https://docs.manus.ai/enterprise/v2/user-management-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"team.user.delegate\",\"item\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate#apireference\",\"headline\":\"team.user.delegate\",\"name\":\"team.user.delegate\",\"description\":\"Delegates a deactivated profile (team_user_id) to an active member (target_team_user_id). The delegated profile's email is rewritten to delegate-xxx@manus.im and the original email is preserved in original_email. Pre-checks: the source must be currently INACTIVE, the target must be an active non-delegated member, and the source cannot be the team owner.\",\"url\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate\",\"mainEntityOfPage\":{\"@id\":\"https://docs.manus.ai/enterprise/v2/team.user.delegate#webpage\"},\"dateModified\":\"2026-05-11T07:34:17.411Z\",\"publisher\":{\"@id\":\"https://docs.manus.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.manus.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Manus Enterprise API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Manus Enterprise API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/enterprise/v2/team.user.delegate.md","siteName":"Manus Enterprise API","nav":{"global":null,"versions":[{"version":"v2","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/enterprise/v2/introduction"},{"title":"Authentication","href":"/enterprise/v2/authentication"},{"title":"Protocols: REST and Connect RPC","href":"/enterprise/v2/protocols"}]},{"group":"Enterprise Data Export","pages":[{"title":"Overview","href":"/enterprise/v2/data-export-overview"},{"title":"enterprise.export.create","openapi":"POST /v2/enterprise.export.create","href":"/enterprise/v2/enterprise.export.create"},{"title":"enterprise.export.detail","openapi":"GET /v2/enterprise.export.detail","href":"/enterprise/v2/enterprise.export.detail"},{"title":"enterprise.export.list","openapi":"GET /v2/enterprise.export.list","href":"/enterprise/v2/enterprise.export.list"},{"title":"enterprise.export.downloadUrl","openapi":"GET /v2/enterprise.export.downloadUrl","href":"/enterprise/v2/enterprise.export.downloadUrl"},{"title":"enterprise.task.list","openapi":"GET /v2/enterprise.task.list","href":"/enterprise/v2/enterprise.task.list"}]},{"group":"Enterprise SIEM Integrations","pages":[{"title":"Overview","href":"/enterprise/v2/siem-integrations-overview"},{"title":"Record format","href":"/enterprise/v2/siem-record-format"},{"title":"enterprise.compliance.export.create","openapi":"POST /v2/enterprise.compliance.export.create","href":"/enterprise/v2/enterprise.compliance.export.create"},{"title":"enterprise.compliance.export.detail","openapi":"GET /v2/enterprise.compliance.export.detail","href":"/enterprise/v2/enterprise.compliance.export.detail"},{"title":"enterprise.compliance.export.downloadUrl","openapi":"GET /v2/enterprise.compliance.export.downloadUrl","href":"/enterprise/v2/enterprise.compliance.export.downloadUrl"}]},{"group":"Team User Management","pages":[{"title":"Overview","href":"/enterprise/v2/user-management-overview"},{"title":"Migrating from v1","href":"/enterprise/v2/user-management-migration"},{"title":"team.user.list","openapi":"GET /v2/team.user.list","href":"/enterprise/v2/team.user.list"},{"title":"team.user.detail","openapi":"GET /v2/team.user.detail","href":"/enterprise/v2/team.user.detail"},{"title":"team.user.create","openapi":"POST /v2/team.user.create","href":"/enterprise/v2/team.user.create"},{"title":"team.user.update","openapi":"POST /v2/team.user.update","description":"Updates a team member's status and/or role. The target is identified by either `email` or `team_user_id` — when both are provided, `team_user_id` wins. At least one of `status` / `role` should be provided. When `status` becomes `INACTIVE` or `REMOVED` and the user has profiles delegated to them, those profiles are reclaimed and listed in `cascade_affected[]`. `status=REMOVED` cannot be combined with a `role` update. Promoting a `TEAM_MEMBER_ROLE_GUEST` member into a paid role triggers a Stripe seat-quantity bump; a downstream Stripe failure surfaces as `internal`.","href":"/enterprise/v2/team.user.update"},{"title":"team.user.delegate","openapi":"POST /v2/team.user.delegate","href":"/enterprise/v2/team.user.delegate"},{"title":"team.user.reclaim","openapi":"POST /v2/team.user.reclaim","description":"Reclaims a delegated profile and returns it to the deactivated pool. The previous assignee is reported in `previous_delegate`. Cannot be called on a profile that is not currently delegated.","href":"/enterprise/v2/team.user.reclaim"},{"title":"team.user.rename","openapi":"POST /v2/team.user.rename","href":"/enterprise/v2/team.user.rename"},{"title":"team.user.remove","openapi":"POST /v2/team.user.remove","href":"/enterprise/v2/team.user.remove"}]},{"group":"Shared Team Asset Governance","pages":[{"title":"Overview","href":"/enterprise/v2/asset-governance-overview"},{"title":"team.asset.list","openapi":"GET /v2/team.asset.list","href":"/enterprise/v2/team.asset.list"},{"title":"team.asset.update_scope","openapi":"POST /v2/team.asset.update_scope","href":"/enterprise/v2/team.asset.update_scope"}]}]},{"version":"v1","pages":[{"title":"v1","href":"/enterprise/v1/user-management-overview"}]}]},"basePath":"","title":"team.user.delegate - Manus Enterprise API","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}