UNPKG

@unkey/api

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.

21 lines 1.03 kB
import * as z from "zod/v3"; export type V2PermissionsGetRoleRequestBody = { /** * Unique identifier of the role to permanently delete from your workspace. * * @remarks * Must either be a valid role ID that begins with 'role_' or the given role name and exists within your workspace. * * Use this endpoint to verify role details, check its current permissions, or retrieve metadata. * Returns complete role information including all assigned permissions for comprehensive access review. */ role: string; }; /** @internal */ export type V2PermissionsGetRoleRequestBody$Outbound = { role: string; }; /** @internal */ export declare const V2PermissionsGetRoleRequestBody$outboundSchema: z.ZodType<V2PermissionsGetRoleRequestBody$Outbound, z.ZodTypeDef, V2PermissionsGetRoleRequestBody>; export declare function v2PermissionsGetRoleRequestBodyToJSON(v2PermissionsGetRoleRequestBody: V2PermissionsGetRoleRequestBody): string; //# sourceMappingURL=v2permissionsgetrolerequestbody.d.ts.map