# Upload dep token to a tenant Upload dep token for a public key for a tenant based on ID of DEP public key Endpoint: PUT /tenant/v0/deptokens/{id}/ Version: 1.0.0 Security: apiKey ## Path parameters: - `id` (string, required) ID of the token object ## Request fields (multipart/form-data): - `file` (string, required) .p7m file from abm console - `token_name` (string, required) ## Response 200 fields (application/json): - `code` (integer) - `message` (string) - `content` (object) - `content.schema` (object) - `content.schema.id` (string) id of DEP token - `content.schema.token_name` (string) name of DEP Token - `content.schema.meta` (object) meta information about the DEP token - `content.schema.meta.token_expiry_on` (string) - `content.schema.state` (string) state of DEP token upload Enum: "CSR_GENERATED", "COMPLETED" - `content.schema.created_by` (string) user id of the user - `content.schema.updated_by` (string) user id of the user - `content.schema.created_at` (string) Timestamp of DEP token creation - `content.schema.updated_at` (string) Timestamp of DEP token creation ## Response 400 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object) ## Response 401 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object) ## Response 404 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object) ## Response 500 fields (application/json): - `code` (integer, required) - `message` (string, required) - `content` (object)