Nokku LogoNokku
Nokku LogoNokku

RemoveSubjectsFromPrincipal

RemoveSubjectsFromPrincipal

nokku.v1.PrincipalService
POST
https://app.nokku.sh/v1/workspaces/{workspace_id}/principals:remove

path Parameters

workspace_idstring <uuid>required
Example 497f6eca-6276-4993-bfeb-53cbbbba6f08

Authorization

  • BearerAuth (bearer)

    PASETO token authentication. Include the token in the Authorization header: `Authorization: Bearer <token>`

  • CookieAuth (apiKey in cookie)

    Cookie-based authentication (recommended for web applications). The session cookie is automatically sent by browsers after login.

Request Body

required

application/json

object
id?
string <uuid>
subjectIds?
array<string>
type?
string
Enum:"PRINCIPAL_TYPE_UNSPECIFIED""PRINCIPAL_TYPE_USER""PRINCIPAL_TYPE_TEAM""PRINCIPAL_TYPE_SERVICE_ACCOUNT"

Responses

200

Success

application/json

object

Code Samples

Example Responses