code: func (c *Client) DeleteTelegrafConfig(ctx context.Context, id platform.ID) error {
  	op := OpPrefix + platform.OpDeleteTelegrafConfig
  	err := c.db.Update(func(tx *bolt.Tx) error {
  		encodedID, err := id.Encode()
  		if err != nil {
  			return &platform.Error{
  				Code: platform.EEmptyValue,
  				Err:  err,
  			}
  		}
  		err = tx.Bucket(telegrafBucket).Delete(encodedID)
  		if err != nil {
  			return err
  		}
  		return c.deleteUserResourceMappings(ctx, tx, platform.UserResourceMappingFilter{
  			ResourceID: id,
  			Resource:   platform.TelegrafsResource,
  		})
  	})
  	if err != nil {
  		err = &platform.Error{
  			Code: platform.ErrorCode(err),
  			Op:   op,
  			Err:  err,
  		}
  	}
  	return err
  }
docs: // DeleteTelegrafConfig removes a telegraf config by ID.