Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AppSigningSecret

Hierarchy

Index

Properties

Methods

Properties

redactedValue

redactedValue: string

The last four characters of the signing secret

sys

System metadata

Methods

delete

  • delete(): Promise<void>
  • Deletes this object on the server.

    example
    const contentful = require('contentful-management')
    
    const client = contentful.createClient({
      accessToken: '<content_management_api_key>'
    })
    client.getOrganization('<organization_id>')
    .then((organization) => organization.getAppSigningSecret(<api-key-id>))
    .then((signingSecret) => signingSecret.delete())
    .then(() => console.log('signingSecret deleted'))
    .catch(console.error)
    

    Returns Promise<void>

    Promise for the deletion. It contains no data, but the Promise error case should be handled.

toPlainObject