Type Alias CspOriginsAPI

type CspOriginsAPI = {
    clearCache: typeof clearCache;
    createCSPEntry: typeof createCSPEntry;
    deleteCSPEntry: typeof deleteCSPEntry;
    getCSPEntries: typeof getCSPEntries;
    getCSPEntry: typeof getCSPEntry;
    getCSPHeader: typeof getCSPHeader;
    updateCSPEntry: typeof updateCSPEntry;
}
Index

Properties

clearCache: typeof clearCache

Clears the cache for csp-origins api requests.

createCSPEntry: typeof createCSPEntry

Creates a new content security policy for an origin.

an object with the body content

CreateCSPEntryHttpError

deleteCSPEntry: typeof deleteCSPEntry

Deletes a specific content security policy.

The CSP entry's unique identifier.

DeleteCSPEntryHttpError

getCSPEntries: typeof getCSPEntries

Retrieves all content security policies for a tenant.

an object with query parameters

GetCSPEntriesHttpError

getCSPEntry: typeof getCSPEntry

Returns details for a specific content security policy.

The CSP entry's unique identifier.

GetCSPEntryHttpError

getCSPHeader: typeof getCSPHeader

Retrieves the full content security policy header (including all configured policies and origins) for the tenant.

GetCSPHeaderHttpError

updateCSPEntry: typeof updateCSPEntry

Updates a content security policy.

The CSP entry's unique identifier.

an object with the body content

UpdateCSPEntryHttpError