Remove content access for a user, revoking their invitation or shared access.

Behavior: Revokes the specified user's access to the given content. Specify the user by UserId or Emails. The user's active sessions for this content are terminated. If the user has no remaining content access, their account may be deleted (if still pending invitation) or expired (if active).

Authorization: Requires a valid Bearer token (class-level [Authorize]). Caller must have permissions on the specified ContentId.

Side Effects: Revokes content access permissions. Terminates related user sessions. May delete the user account if they have no remaining content access and their invitation was still pending. May expire the user account if they have no remaining content access.

Error Scenarios: Returns 400 if the request is null or neither UserId nor Emails are provided. Throws if the caller lacks permissions on the ContentId.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

A Nomad.Common.Models.UserInviteRequestModel containing UserId or Emails to remove, and the ContentId/ContentDefinitionId specifying which content access to revoke.

Request model for inviting or removing guest users with content access.

uuid | null

Gets or sets the identifier of the specific content item to grant or revoke access to.

uuid | null

Gets or sets the content definition identifier that defines the type of content being shared. Required when inviting users.

uuid | null

Gets or sets the unique identifier of a specific user to invite or remove. Provide either UserId or Emails.

emails
array of strings | null

Gets or sets the array of email addresses to invite or remove. Provide either Emails or UserId.

emails
Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses
200

The user's content security was successfully removed.

401

The caller is not authenticated.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json