Skip to main content

createApiKey

createApiKey

Request Body REQUIRED
name string
permissions string[] REQUIRED

Possible values: [all, activity.create, activity.read, activity.update, activity.delete, activity.statistics, apiKey.create, apiKey.read, apiKey.update, apiKey.delete, asset.read, asset.update, asset.delete, asset.share, asset.view, asset.download, asset.upload, album.create, album.read, album.update, album.delete, album.statistics, album.addAsset, album.removeAsset, album.share, album.download, authDevice.delete, archive.read, face.create, face.read, face.update, face.delete, library.create, library.read, library.update, library.delete, library.statistics, timeline.read, timeline.download, memory.create, memory.read, memory.update, memory.delete, partner.create, partner.read, partner.update, partner.delete, person.create, person.read, person.update, person.delete, person.statistics, person.merge, person.reassign, session.read, session.update, session.delete, sharedLink.create, sharedLink.read, sharedLink.update, sharedLink.delete, stack.create, stack.read, stack.update, stack.delete, systemConfig.read, systemConfig.update, systemMetadata.read, systemMetadata.update, tag.create, tag.read, tag.update, tag.delete, tag.asset, admin.user.create, admin.user.read, admin.user.update, admin.user.delete]

Responses
201
Schema OPTIONAL
apiKey object
createdAt date-time
id string
name string
permissions string[]

Possible values: [all, activity.create, activity.read, activity.update, activity.delete, activity.statistics, apiKey.create, apiKey.read, apiKey.update, apiKey.delete, asset.read, asset.update, asset.delete, asset.share, asset.view, asset.download, asset.upload, album.create, album.read, album.update, album.delete, album.statistics, album.addAsset, album.removeAsset, album.share, album.download, authDevice.delete, archive.read, face.create, face.read, face.update, face.delete, library.create, library.read, library.update, library.delete, library.statistics, timeline.read, timeline.download, memory.create, memory.read, memory.update, memory.delete, partner.create, partner.read, partner.update, partner.delete, person.create, person.read, person.update, person.delete, person.statistics, person.merge, person.reassign, session.read, session.update, session.delete, sharedLink.create, sharedLink.read, sharedLink.update, sharedLink.delete, stack.create, stack.read, stack.update, stack.delete, systemConfig.read, systemConfig.update, systemMetadata.read, systemMetadata.update, tag.create, tag.read, tag.update, tag.delete, tag.asset, admin.user.create, admin.user.read, admin.user.update, admin.user.delete]

updatedAt date-time
secret string